mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-22 15:24:09 +00:00
feat:会员余额以分为单位保存到数据库,并在模型层做转换处理
This commit is contained in:
parent
f7e0845b39
commit
d655bee172
@ -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;
|
|
||||||
}
|
|
@ -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;
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user