lvhao 1 miesiąc temu
rodzic
commit
dab07df431

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

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