巡乐会抽奖接口提交.-联调
This commit is contained in:
@@ -213,7 +213,9 @@ class BlindBox extends adminApi
|
||||
$data['is_world_show'] = $is_world_show;
|
||||
$data['weight'] = $weight;
|
||||
if(!empty($gift_id)){
|
||||
$gift = db::name('vs_gift')->where(['gid'=>$gift_id])->find();
|
||||
$data['foreign_id'] = $gift_id;
|
||||
$data['name'] = $gift['gift_name'];
|
||||
}
|
||||
$res = db::name($this->table)->where(['id'=>$id])->update($data);
|
||||
if($res){
|
||||
|
||||
Reference in New Issue
Block a user