From 16a680f88f49074df084b48394f045b597b172f5 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Tue, 28 Mar 2023 18:40:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/adminapi/controller/v1/order/StoreOrder.php | 9 +++++++++ crmeb/app/dao/order/StoreOrderDao.php | 1 + crmeb/app/services/order/StoreOrderServices.php | 2 ++ 3 files changed, 12 insertions(+) diff --git a/crmeb/app/adminapi/controller/v1/order/StoreOrder.php b/crmeb/app/adminapi/controller/v1/order/StoreOrder.php index 4c049aae3..4bf6f7c0a 100644 --- a/crmeb/app/adminapi/controller/v1/order/StoreOrder.php +++ b/crmeb/app/adminapi/controller/v1/order/StoreOrder.php @@ -263,6 +263,9 @@ class StoreOrder extends AuthController * @param $id * @param StoreOrderDeliveryServices $services * @return mixed + * @throws \think\db\exception\DataNotFoundException + * @throws \think\db\exception\DbException + * @throws \think\db\exception\ModelNotFoundException */ public function split_delivery($id, StoreOrderDeliveryServices $services) { @@ -317,7 +320,11 @@ class StoreOrder extends AuthController /** * 获取订单拆分子订单列表 + * @param $id * @return mixed + * @throws \think\db\exception\DataNotFoundException + * @throws \think\db\exception\DbException + * @throws \think\db\exception\ModelNotFoundException */ public function split_order($id) { @@ -455,6 +462,7 @@ class StoreOrder extends AuthController * 订单详情 * @param $id 订单id * @return mixed + * @throws \ReflectionException */ public function order_info($id) { @@ -558,6 +566,7 @@ class StoreOrder extends AuthController /** * 不退款表单结构 + * @param StoreOrderRefundServices $services * @param $id * @return mixed * @throws \FormBuilder\Exception\FormBuilderException diff --git a/crmeb/app/dao/order/StoreOrderDao.php b/crmeb/app/dao/order/StoreOrderDao.php index 5cba52b63..cb9c12c51 100644 --- a/crmeb/app/dao/order/StoreOrderDao.php +++ b/crmeb/app/dao/order/StoreOrderDao.php @@ -41,6 +41,7 @@ class StoreOrderDao extends BaseDao * 订单搜索 * @param array $where * @return \crmeb\basic\BaseModel|mixed|\think\Model + * @throws \ReflectionException */ public function search(array $where = []) { diff --git a/crmeb/app/services/order/StoreOrderServices.php b/crmeb/app/services/order/StoreOrderServices.php index ebacd3ed3..e6c66a9a3 100644 --- a/crmeb/app/services/order/StoreOrderServices.php +++ b/crmeb/app/services/order/StoreOrderServices.php @@ -82,6 +82,8 @@ class StoreOrderServices extends BaseServices /** * 获取列表 * @param array $where + * @param array $field + * @param array $with * @return array * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException