WIN-2308041133\Administrator 2 weeks ago
parent
commit
e618741714
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/api/controller/Lave.php

+ 1 - 0
application/api/controller/Lave.php

@@ -370,6 +370,7 @@ class Lave extends Api
                 ['cid', $this->cid],
             ], $request
         );
+        if (!$where['id']) $this->error('参数错误');
         $this->success('获取成功', WechatPlan::read($where));
     }