瀏覽代碼

积分订单备注

evoxwht 2 年之前
父節點
當前提交
a06afd81fc
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      crmeb/app/services/activity/integral/StoreIntegralOrderServices.php

+ 4 - 1
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);
         }