|
|
@@ -310,6 +310,15 @@ class GhsController extends BaseController
|
|
|
$intraCityRet = ShopClass::hasIntraCity($ghsShop);
|
|
|
$openIntraCity = $intraCityRet['openIntraCity'] ?? 0;
|
|
|
$info['openIntraCity'] = $openIntraCity;
|
|
|
+ //花材的免费配送设置
|
|
|
+ $hcFreeKm = $shopExt['hcFreeKm'] ?? 0;
|
|
|
+ $info['hcFreeKm'] = $hcFreeKm;
|
|
|
+ $hcMapString = $shopExt['hcMap'] ?? '';
|
|
|
+ $hcMap = [];
|
|
|
+ if (!empty($hcMapString)) {
|
|
|
+ $hcMap = json_decode($hcMapString, true);
|
|
|
+ }
|
|
|
+ $info['hcMap'] = $hcMap;
|
|
|
|
|
|
util::success($info);
|
|
|
}
|