...
|
...
|
@@ -164,7 +164,6 @@ class Index extends WechatBase |
|
|
if($goods['distance'] != 0){
|
|
|
if($distance > $goods['distance']){
|
|
|
$is_distance = 0;
|
|
|
echo 1;
|
|
|
$this->success('SUCCESS','',['is_where_satisfy'=>$is_distance]);
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -172,7 +171,6 @@ class Index extends WechatBase |
|
|
if($goods['sex'] != 0){
|
|
|
if($user['gender'] == $goods['sex']){
|
|
|
$is_distance = 0;
|
|
|
echo 2;
|
|
|
$this->success('SUCCESS','',['is_where_satisfy'=>$is_distance]);
|
|
|
}
|
|
|
}
|
...
|
...
|
|