lvhao il y a 12 heures
Parent
commit
dab07df431
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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
                     "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'],