mirror of
https://gitee.com/technical-laohu/mpay_v2_webman.git
synced 2026-04-23 02:24:27 +08:00
插件管理更新
This commit is contained in:
@@ -7,28 +7,36 @@ use app\common\base\BaseModel;
|
||||
/**
|
||||
* 支付插件模型
|
||||
*
|
||||
* 对应表:ma_pay_plugin(主键 plugin_code)
|
||||
* 对应表:ma_pay_plugin(主键 code)
|
||||
*/
|
||||
class PaymentPlugin extends BaseModel
|
||||
{
|
||||
protected $table = 'ma_pay_plugin';
|
||||
|
||||
protected $primaryKey = 'plugin_code';
|
||||
protected $primaryKey = 'code';
|
||||
|
||||
public $incrementing = false;
|
||||
|
||||
protected $keyType = 'string';
|
||||
|
||||
protected $fillable = [
|
||||
'plugin_code',
|
||||
'plugin_name',
|
||||
'code',
|
||||
'name',
|
||||
'class_name',
|
||||
'status',
|
||||
'config_schema',
|
||||
'pay_types',
|
||||
'transfer_types',
|
||||
'author',
|
||||
'link',
|
||||
];
|
||||
|
||||
public $timestamps = true;
|
||||
|
||||
protected $casts = [
|
||||
'status' => 'integer',
|
||||
'config_schema' => 'array',
|
||||
'pay_types' => 'array',
|
||||
'transfer_types' => 'array',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user