Store the customized Shopro mall so it can be kept on the remote.
Co-authored-by: Cursor <cursoragent@cursor.com>
这个提交包含在:
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\model\shopro;
|
||||
|
||||
use app\admin\model\shopro\Common;
|
||||
use traits\model\SoftDelete;
|
||||
|
||||
class PayConfig extends Common
|
||||
{
|
||||
use SoftDelete;
|
||||
|
||||
protected $name = 'shopro_pay_config';
|
||||
|
||||
protected $deleteTime = 'deletetime';
|
||||
|
||||
protected $type = [
|
||||
'params' => 'json',
|
||||
];
|
||||
|
||||
// 追加属性
|
||||
protected $append = [
|
||||
'type_text',
|
||||
'status_text'
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'params'
|
||||
];
|
||||
|
||||
public function statusList()
|
||||
{
|
||||
return [
|
||||
'normal' => '正常',
|
||||
'disabled' => '禁用',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
public function typeList()
|
||||
{
|
||||
return [
|
||||
'wechat' => '微信支付',
|
||||
'alipay' => '支付宝支付',
|
||||
];
|
||||
}
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户