未实名不能收礼

This commit is contained in:
2025-12-31 02:05:35 +08:00
parent b3e52f9c3d
commit 150aa8f5c7

View File

@@ -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];
}
}