diff --git a/app/Services/IndexService.php b/app/Services/IndexService.php index 0ebc7bf..8f2a7fb 100644 --- a/app/Services/IndexService.php +++ b/app/Services/IndexService.php @@ -88,6 +88,11 @@ class IndexService extends BaseService $params["banner_place"] = 1; $params["banner_status"] = 1; $banner = BannerModel::getList($params); + if (!empty($banner)){ + foreach ($banner as &$item){ + $item['banner_path'] = addAliyunOssWebsite($item['banner_path']); + } + } $info = array(); $info['doctor_id'] = $doctor['doctor_id']; diff --git a/extend/Prescription/Prescription.php b/extend/Prescription/Prescription.php index 16247b6..85f2fdb 100644 --- a/extend/Prescription/Prescription.php +++ b/extend/Prescription/Prescription.php @@ -125,6 +125,9 @@ class Prescription } } + // 获取运费 + + /** * 请求封装 * @param string $path