WIN-2308041133\Administrator 3 týždňov pred
rodič
commit
e618741714
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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));
     }