作者 sgj
1 个管道 的构建 失败 耗费 0 秒

修改志愿者列表

... ... @@ -1241,6 +1241,8 @@ class SecondController extends RestBaseController
*
*@header name:XX-Token require:1 default: desc:token
*@param name:id type:int require:1 other: desc:订单id
*@param name:lat type:int require:1 other: desc:纬度
*@param name:long type:int require:1 other: desc:经度
*@header name:XX-Token require:1 default: desc:token
*
*
... ... @@ -1266,7 +1268,7 @@ class SecondController extends RestBaseController
}
/*检查地点*/
$distance=getDistance($activity['lat'],$activity['long'],$data['lat'],$data['long']);
if ($distance*1000>$config['distinct']){
if ($distance*1000>$config['distance']){
$this->error('不在打卡范围内');
}
$update['status']=2;
... ...