21 lines
407 B
PHP
21 lines
407 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
*
|
|
*
|
|
*
|
|
* Date: 2021/12/2
|
|
* Time: 14:42
|
|
*/
|
|
|
|
namespace app\frontend\modules\order\payment\setting;
|
|
|
|
|
|
class WechatJsapiSetting extends \app\common\payment\setting\wechat\WechatJsapiSetting
|
|
{
|
|
public function canUse()
|
|
{
|
|
$face_setting = \Setting::get('plugin.face-payment');
|
|
return parent::canUse() && !$face_setting['shop_button']['wechat'];
|
|
}
|
|
} |