From 0c23860fc3615443e1d729e5fb9db6b2b5477848 Mon Sep 17 00:00:00 2001 From: nizongfeng Date: Wed, 15 Feb 2023 14:35:30 +0800 Subject: [PATCH] 1 --- application/admin/controller/OrderMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }