作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

商户申请

... ... @@ -112,7 +112,7 @@ class Goods extends WechatBase
$data['time'] = $time;
$data['question'] = $question;
//判断用户是否完成答题条件
if(empty($user['mobile']) || empty($user['name']) || empty($user['card'])){
if(empty($user['gender']) || empty($user['birthday']) || empty($user['latitude']) || empty($user['longitude'])){
$user['is_satisfy'] = 0;//不满足
}else{
$user['is_satisfy'] = 1;//满足
... ...