mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-09 05:08:17 +08:00
52 lines
1.6 KiB
PHP
52 lines
1.6 KiB
PHP
<?php
|
||
|
||
// +----------------------------------------------------------------------
|
||
// | Payment Plugin for ThinkAdmin
|
||
// +----------------------------------------------------------------------
|
||
// | 版权所有 2022~2024 ThinkAdmin [ thinkadmin.top ]
|
||
// +----------------------------------------------------------------------
|
||
// | 官方网站: https://thinkadmin.top
|
||
// +----------------------------------------------------------------------
|
||
// | 免责声明 ( https://thinkadmin.top/disclaimer )
|
||
// | 会员免费 ( https://thinkadmin.top/vip-introduce )
|
||
// +----------------------------------------------------------------------
|
||
// | gitee 代码仓库:https://gitee.com/zoujingli/think-plugs-payment
|
||
// | github 代码仓库:https://github.com/zoujingli/think-plugs-payment
|
||
// +----------------------------------------------------------------------
|
||
|
||
declare (strict_types=1);
|
||
|
||
namespace plugin\payment\model;
|
||
|
||
use plugin\account\model\Abs;
|
||
|
||
/**
|
||
* 用户支付参数模型
|
||
* @class PluginPaymentConfig
|
||
* @package plugin\payment\model
|
||
*/
|
||
class PluginPaymentConfig extends Abs
|
||
{
|
||
protected $oplogName = '商城支付配置';
|
||
protected $oplogType = '商城支付配置';
|
||
|
||
/**
|
||
* 格式化数据格式
|
||
* @param mixed $value
|
||
* @return string
|
||
*/
|
||
public function setContentAttr($value): string
|
||
{
|
||
return $this->setExtraAttr($value);
|
||
}
|
||
|
||
/**
|
||
* 格式化数据格式
|
||
* @param mixed $value
|
||
* @return array
|
||
*/
|
||
public function getContentAttr($value): array
|
||
{
|
||
return $this->getExtraAttr($value);
|
||
}
|
||
} |