|
|
@@ -127,6 +127,13 @@ class CustomController extends BaseController
|
|
|
$customId = $get['id'] ?? 0;
|
|
|
$info = CustomService::getCustomInfo($customId);
|
|
|
CustomClass::valid($info, $this->shopId);
|
|
|
+ //手动添加的客户经纬度不完善不显示地址,引导完善客户地址
|
|
|
+ if (isset($info['lat']) && empty($info['lat'])) {
|
|
|
+ $info['address'] = '';
|
|
|
+ }
|
|
|
+ if (isset($info['long']) && empty($info['long'])) {
|
|
|
+ $info['address'] = '';
|
|
|
+ }
|
|
|
util::success($info);
|
|
|
}
|
|
|
|