feat:会员余额以分为单位保存到数据库,并在模型层做转换处理

This commit is contained in:
妙码生花 2022-06-26 19:27:03 +08:00
parent f7e0845b39
commit d655bee172
2 changed files with 0 additions and 26 deletions

View File

@ -1,13 +0,0 @@
<?php
namespace app\api\model;
use think\model;
class UserMoneyLog extends model
{
protected $autoWriteTimestamp = 'int';
protected $createTime = 'createtime';
protected $updateTime = false;
}

View File

@ -1,13 +0,0 @@
<?php
namespace app\api\model;
use think\model;
class UserScoreLog extends model
{
protected $autoWriteTimestamp = 'int';
protected $createTime = 'createtime';
protected $updateTime = false;
}