wugg %!s(int64=2) %!d(string=hai) anos
pai
achega
2a4ec7ada4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/admin/controller/Base.php

+ 1 - 1
app/admin/controller/Base.php

@@ -230,7 +230,7 @@ class Base extends \app\BaseController
                     "order_id" => $insert,
                     "order_status" =>7,
                     "before_status"=>0,
-                    'holder_id'=>$this->uid,
+                    'holder_id'=>$good['createrid'],
                 ]);
   	    $newAdd=Db::name("good_change_log")->insert($log);
   	    if($newAdd==false) throw new \Exception("非库存商品转库存失败",1005);