未实名不能收礼
This commit is contained in:
@@ -73,10 +73,10 @@ class GiveGift extends Model
|
||||
$is_real = db::name('user_auth')->where('mobile' , $mobile)->field('id,is_real')->find();
|
||||
if($is_real){
|
||||
if($is_real['is_real'] != 1){
|
||||
return ['code' => 0, 'msg' => '收礼用户中有未实名', 'data' => null];
|
||||
return ['code' => 0, 'msg' => '该用户未实名,暂不支持收礼', 'data' => null];
|
||||
}
|
||||
}else{
|
||||
return ['code' => 0, 'msg' => '收礼用户中有未实名', 'data' => null];
|
||||
return ['code' => 0, 'msg' => '该用户未实名,暂不支持收礼', 'data' => null];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user