Explorar o código

班组计时修改

unknown hai 3 meses
pai
achega
2518576258
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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('删除失败');
         }