From a06afd81fc141964b8032b04c54619b47b2caf22 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Mon, 27 Mar 2023 15:44:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E8=AE=A2=E5=8D=95=E5=A4=87?= =?UTF-8?q?=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../activity/integral/StoreIntegralOrderServices.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crmeb/app/services/activity/integral/StoreIntegralOrderServices.php b/crmeb/app/services/activity/integral/StoreIntegralOrderServices.php index 383aa4845..c36a1b39f 100644 --- a/crmeb/app/services/activity/integral/StoreIntegralOrderServices.php +++ b/crmeb/app/services/activity/integral/StoreIntegralOrderServices.php @@ -725,12 +725,15 @@ class StoreIntegralOrderServices extends BaseServices * @param int $id * @param string $remark * @return mixed + * @throws \think\db\exception\DataNotFoundException + * @throws \think\db\exception\DbException + * @throws \think\db\exception\ModelNotFoundException */ public function remark(int $id, string $remark) { if (!$remark) throw new AdminException(400106); if (!$id) throw new AdminException(100100); - if (!$order = $this->services->get($id)) { + if (!$order = $this->dao->get($id)) { throw new AdminException(100025); }