diff --git a/api/controllers/wxapp/licheb/Sign.php b/api/controllers/wxapp/licheb/Sign.php index 5d8a96fe..3f4eee2b 100644 --- a/api/controllers/wxapp/licheb/Sign.php +++ b/api/controllers/wxapp/licheb/Sign.php @@ -33,7 +33,7 @@ class Sign extends Wxapp $lng = $this->input_param('lng'); $biz = $this->biz_model->get(['id' => $this->get_biz_id()]); $distance = get_distance($lat, $lng, $biz['lat'], $biz['lng']); - if ($distance > 500) { + if ($distance > 5000) { return ['msg' => '您未在门店有效范围', 'type' => 'fail', 'fail_img' => 'https://img.liche.cn/spacestation/failed.png?t=20240607']; // throw new Exception('您未在门店的有效范围之内', ERR_PARAMS_ERROR); }