|
@@ -59,7 +59,11 @@ class SystemStore extends BaseModel
|
|
|
$storeInfo['valid_time'] = $storeInfo['valid_time'] ? explode(' - ', $storeInfo['valid_time']) : [];
|
|
$storeInfo['valid_time'] = $storeInfo['valid_time'] ? explode(' - ', $storeInfo['valid_time']) : [];
|
|
|
$storeInfo['day_time'] = $storeInfo['day_time'] ? explode(' - ', $storeInfo['day_time']) : [];
|
|
$storeInfo['day_time'] = $storeInfo['day_time'] ? explode(' - ', $storeInfo['day_time']) : [];
|
|
|
$storeInfo['address'] = $storeInfo['address'] ? explode(',', $storeInfo['address']) : [];
|
|
$storeInfo['address'] = $storeInfo['address'] ? explode(',', $storeInfo['address']) : [];
|
|
|
- $storeInfo['cid'] = $storeInfo['cid'] ? explode(',', $storeInfo['cid']) : [];
|
|
|
|
|
|
|
+ $cid = $storeInfo['cid'] ? explode(',', $storeInfo['cid']) : [];
|
|
|
|
|
+ foreach ($cid as &$v) {
|
|
|
|
|
+ $v = (int)$v;
|
|
|
|
|
+ }
|
|
|
|
|
+ $storeInfo['cid'] = $cid;
|
|
|
$storeInfo['is_triple'] = $storeInfo['is_triple'] ? (string)$storeInfo['is_triple'] : "0";
|
|
$storeInfo['is_triple'] = $storeInfo['is_triple'] ? (string)$storeInfo['is_triple'] : "0";
|
|
|
} else {
|
|
} else {
|
|
|
$storeInfo['latlng'] = [];
|
|
$storeInfo['latlng'] = [];
|
|
@@ -67,6 +71,7 @@ class SystemStore extends BaseModel
|
|
|
$storeInfo['valid_time'] = [];
|
|
$storeInfo['valid_time'] = [];
|
|
|
$storeInfo['day_time'] = [];
|
|
$storeInfo['day_time'] = [];
|
|
|
$storeInfo['address'] = [];
|
|
$storeInfo['address'] = [];
|
|
|
|
|
+ $storeInfo['cid'] = [];
|
|
|
$storeInfo['id'] = 0;
|
|
$storeInfo['id'] = 0;
|
|
|
}
|
|
}
|
|
|
return $storeInfo;
|
|
return $storeInfo;
|