|
|
@@ -422,7 +422,6 @@ class GhsClass extends BaseClass
|
|
|
$distance = $pair['distance'] ?? 0;
|
|
|
// 距离大于60公里不建立关系
|
|
|
if ($distance > 60 * 1000) {
|
|
|
- noticeUtil::push("执行到这里,没有建立关系。。。。" . $distance . ' ' . $ghsShopId . ' ' . $shopId);
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
@@ -430,11 +429,10 @@ class GhsClass extends BaseClass
|
|
|
$ghs = self::build($ghsShopId, $shopId);
|
|
|
if (!empty($ghs) && $distance > 0) {
|
|
|
$ghsId = $ghs['id'];
|
|
|
- noticeUtil::push("执行到这里,建立一个:" . $ghsId);
|
|
|
+ noticeUtil::push("建立了一个关系:" . $ghsId);
|
|
|
self::updateById($ghsId, ['distance' => $distance]);
|
|
|
}
|
|
|
}
|
|
|
- noticeUtil::push("执行到这里。。。。2");
|
|
|
return true;
|
|
|
}
|
|
|
|