wupengfei 2 年之前
父节点
当前提交
2b361cadcc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/UserCenter.php

+ 1 - 1
application/api/controller/UserCenter.php

@@ -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);