From dcb2e801cee6d7d5f74cbe494c569882b079f089 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Thu, 16 Mar 2023 10:33:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=82=A3=E8=80=85=E7=AB=AFba?= =?UTF-8?q?nner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/IndexService.php | 5 +++++ extend/Prescription/Prescription.php | 3 +++ 2 files changed, 8 insertions(+) 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