Files
fast/application/admin/model/shopro/PayConfig.php
xiadc c6a4e1f5f6 init
- 框架初始化
 - 安装插件
 - 修复PHP8.4报错
2025-04-19 17:21:20 +08:00

47 lines
757 B
PHP

<?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' => '支付宝支付',
];
}
}