更新直播送礼
This commit is contained in:
parent
8813a932ee
commit
43112b6442
@ -40,7 +40,7 @@ class Zhibo extends BaseController
|
||||
return app('json')->fail('live_stream_id, master_id, live_name, gift_id, gift_name, gift_num, amount 参数不能为空');
|
||||
}
|
||||
if ($params['amount'] > $user['now_money']) {
|
||||
return app('json')->fail('余额不足');
|
||||
return app('json')->fail('余额不足', ['balance_status' => -1]);
|
||||
}
|
||||
try {
|
||||
Db::transaction(function () use ($user, $params) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user