1.新增商城参数配置菜单-管理兑换比例
This commit is contained in:
25
app/common/model/MallConfig.php
Normal file
25
app/common/model/MallConfig.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace app\common\model;
|
||||
|
||||
use support\think\Model;
|
||||
|
||||
/**
|
||||
* 积分商城配置(比例等)
|
||||
*/
|
||||
class MallConfig extends Model
|
||||
{
|
||||
protected string $name = 'mall_config';
|
||||
|
||||
protected bool $autoWriteTimestamp = true;
|
||||
|
||||
protected array $type = [
|
||||
'create_time' => 'integer',
|
||||
'update_time' => 'integer',
|
||||
'return_ratio' => 'float',
|
||||
'unlock_ratio' => 'float',
|
||||
'points_to_cash_ratio' => 'float',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user