master
wangxinglong 2022-06-02 15:38:51 +08:00
parent aa7d3eeb08
commit f51c2ec764
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class OrderActivity extends Base
public static function cancel(string $orderCoding): bool
{
return self::where('coding', $orderCoding)->save([
'status' => Order::STATUS_CLOSED,
'status' => Order::STATUS_CANCEL,
'deleted_at' => date('Y-m-d H:i:s')
]);
}