diff --git a/application/admin/controller/OrderMain.php b/application/admin/controller/OrderMain.php index 87f618b..4d28110 100755 --- a/application/admin/controller/OrderMain.php +++ b/application/admin/controller/OrderMain.php @@ -147,7 +147,7 @@ class OrderMain extends Backend $result = $orderMemoDao->save($params); //更新备注 $orderMod = new \app\admin\model\OrderMain(); - $orderMod->save(["order_memo"=>$params["memo"]],["order_id"=>$params["order_id"]]); + $orderMod->save(["order_memo"=>$params["memo"]],["id"=>$params["order_id"]]); return json($result); }