|
|
@@ -726,9 +726,9 @@ class User extends ApiController
|
|
|
'source_uid'=> $this->auth->user()['id'],
|
|
|
'type'=> 2,
|
|
|
'action'=> 1,
|
|
|
- 'inc_amount'=> $redbagMoney,
|
|
|
+ 'inc_amount'=> round($redbagMoney, 2),
|
|
|
'aft_amount'=> $user->balance,
|
|
|
- 'remark'=> '分享获得红包,金额【'.$redbagMoney.'】',
|
|
|
+ 'remark'=> '分享获得红包,金额【'.round($redbagMoney, 2).'】',
|
|
|
'created_at'=> time(),
|
|
|
'updated_at'=> time()
|
|
|
];
|