update 用户首页
This commit is contained in:
parent
cc07197b99
commit
44cc714be6
|
@ -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()]);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue