master
wangxinglong 2022-06-13 09:24:12 +08:00
parent 03950a3f8e
commit e7af582431
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}