$make = app()->make(UserBillRepository::class);
$make->decBill($id, 'integral', 'sys_dec', [
'link_id' => 1,
'status' => 1,
'title' => '积分释放',
'number' => $score,
'mark' => '释放' . $score . '积分',
'balance' => $user['integral']-$score
]);
//增加消费积分
$now_money=round($score*0.9,2);
$make->incBill($id, 'now_money', 'sys_inc_money', [
'link_id' => 1,
'status' => 1,
'title' => '消费积分释放增加消费积分',
'number' => $now_money,
'mark' => '消费积分释放增加消费积分' . $now_money ,
'balance' => $user['now_money']+$now_money
]);
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}