Bläddra i källkod

班组计时修改

unknown 3 dagar sedan
förälder
incheckning
2518576258
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      application/api/controller/GluChronographSheet.php

+ 1 - 1
application/api/controller/GluChronographSheet.php

@@ -425,7 +425,7 @@ class GluChronographSheet extends Api
             $this->error('参数错误');
         }
         $ids = explode(',', $params['id']);
-        $res = \db('糊盒班组计时')->where('Uid', 'in', $ids)->delete();
+        $res = \db('糊盒班组计时')->where('id', 'in', $ids)->delete();
         if ($res === false) {
             $this->error('删除失败');
         }