This commit is contained in:
你的名字
2025-10-16 09:57:25 +08:00
parent c1b8542200
commit 09332f1d14

View File

@ -117,7 +117,7 @@ class Order extends AdminController
empty($row) && $this->error('数据不存在');
if ($request->isPost()) {
try {
$save = self::$model->save([
$save = $row->save([
'type' => $row->type == 1?0:1,
]);
}catch (\Exception $e) {