diff --git a/config/routes.php b/config/routes.php index b1b554d..39e0e9e 100644 --- a/config/routes.php +++ b/config/routes.php @@ -218,6 +218,9 @@ Router::addGroup('/patient', function () { // 问诊订单取消支付-1未支付 Router::put('/cancel-pay/{order_inquiry_id:\d+}', [InquiryController::class, 'putPatientInquiryOrderCancelPay']); + + // 获取药品订单列表-药品订单 + Router::post('/8', [CallBackController::class, 'imCallBack']); }); // 医生数据 diff --git a/extend/Alibaba/Oss.php b/extend/Alibaba/Oss.php index 21b2f16..cec9422 100644 --- a/extend/Alibaba/Oss.php +++ b/extend/Alibaba/Oss.php @@ -57,7 +57,8 @@ class Oss $response = array(); $response['accessid'] = $this->config['accessKey']; - $response['host'] = "https://" . $this->config['bucket'] . '.' . $this->config['endpoint']; +// $response['host'] = "https://" . $this->config['bucket'] . '.' . $this->config['endpoint']; + $response['host'] = config('alibaba.oss.custom_domain_name'); $response['policy'] = $base64_policy; $response['signature'] = $signature; $response['expire'] = $end;