1.优化商城参数配置菜单-以及配置生效问题

This commit is contained in:
2026-05-06 15:50:42 +08:00
parent ec499dce0f
commit ddd533f436
7 changed files with 144 additions and 36 deletions

View File

@@ -0,0 +1,25 @@
<?php
declare(strict_types=1);
namespace app\common\model;
use support\think\Model;
/**
* 积分商城业务配置(含 PlayX 比例等)
*/
class MallBusinessConfig extends Model
{
protected string $name = 'mall_business_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',
];
}