1.新增商城参数配置菜单-管理兑换比例

This commit is contained in:
2026-05-06 15:21:59 +08:00
parent c2c2baeaec
commit ec499dce0f
31 changed files with 577 additions and 34 deletions

View 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',
];
}