unknown пре 3 месеци
родитељ
комит
2518576258
1 измењених фајлова са 1 додато и 1 уклоњено
  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('删除失败');
         }