diff --git a/app/controller/manager/mall/Order.php b/app/controller/manager/mall/Order.php index 45fcf6f..4b628d4 100755 --- a/app/controller/manager/mall/Order.php +++ b/app/controller/manager/mall/Order.php @@ -317,6 +317,8 @@ class Order extends Base if ($this->request->isPost()) { $data = input("item/a",[]); + $data["shipped_at"] = empty($data["shipped_at"])?null:$data["shipped_at"]; + $data["accepted_at"] = empty($data["accepted_at"])?null:$data["accepted_at"]; $item->save($data); return $this->json(); }