新需求: 盲盒转盘开发-转盘抽奖接口开发-抽奖记录接口 -送礼接口调整--错误修改
This commit is contained in:
@@ -225,7 +225,7 @@ class BlindBoxTurntableGift extends Model
|
|||||||
$give_gift_ext['gift_price'] = $value['gift_price'];
|
$give_gift_ext['gift_price'] = $value['gift_price'];
|
||||||
$give_gift_ext['all_gift_price'] = $value['all_gift_price'];
|
$give_gift_ext['all_gift_price'] = $value['all_gift_price'];
|
||||||
$give_gift_ext['is_draw_gift'] = 1;
|
$give_gift_ext['is_draw_gift'] = 1;
|
||||||
$res = model('GiveGift')->give_gift($blind_box_turntable['user_id'], $value['gift_user_id'], $ext['gift_id'], $value['count'],2,1, $blind_box_turntable['room_id'],$give_gift_ext);
|
$res = model('GiveGift')->give_gift($blind_box_turntable['user_id'], $value['gift_user_id'], $ext['gift_id'], $value['count'],2,1, $blind_box_turntable['room_id'],0,0,$give_gift_ext);
|
||||||
if (isset($res) && $res['code'] != 1) {
|
if (isset($res) && $res['code'] != 1) {
|
||||||
return V(0, $res['msg']);
|
return V(0, $res['msg']);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user