|
@@ -1248,7 +1248,7 @@ class UserCenter extends Base
|
|
|
//扣减库存
|
|
|
Db::name('store_blind_box')->where('id',$win_box_id)->setDec('residue_num',1);
|
|
|
DelRedisSetNx('openBox'.$this->uid);
|
|
|
- $this->success('成功',$win_prize_id ? $return : '');
|
|
|
+ $this->success('成功',$win_prize_id ? $return : null);
|
|
|
}else{
|
|
|
DelRedisSetNx('openBox'.$this->uid);
|
|
|
$this->error($msg);
|