lvhao hace 1 mes
padre
commit
dab07df431
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      core/CoreApp/controllers/Lyerpapi/v1/Outwarehouse.php

+ 2 - 1
core/CoreApp/controllers/Lyerpapi/v1/Outwarehouse.php

@@ -65,7 +65,8 @@ class Outwarehouse extends Lyapi_Controller{
                     "addtime"=>$time
                 ]
             ];
-            $res = $this->db->from('scanimgs')->insert(
+            $res = $this->db->insert(
+                'scanimgs',
                 [
                     'number' => $orderinfo['number'],
                     'shop'=>$orderinfo['shop'],