update 用户首页

This commit is contained in:
chenbo 2024-01-21 17:37:01 +08:00
parent cc07197b99
commit 44cc714be6
1 changed files with 1 additions and 1 deletions

View File

@ -305,6 +305,6 @@ class UserLogic extends BaseLogic
public static function firstOrderLog($userId, $orderMoney, $orderNo) public static function firstOrderLog($userId, $orderMoney, $orderNo)
{ {
return Db::name('user_invite_first_order_log')->insert(['user_id' => $userId, 'order_money' => $orderMoney, 'order_no' => $orderNo, 'create_time' => time()]); return Db::name('user_invite_first_order_log')->insert(['user_id' => $userId, 'order_money' => bcdiv($orderMoney, 100, 2), 'order_no' => $orderNo, 'create_time' => time()]);
} }
} }