lvhao hai 4 meses
pai
achega
dab07df431
Modificáronse 1 ficheiros con 2 adicións e 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'],