From 5b7134a32731f9fce779cd49af9d10d9cc2f2b0c Mon Sep 17 00:00:00 2001 From: ztt <835303992@qq.com> Date: Sun, 10 Mar 2024 21:50:14 +0800 Subject: [PATCH] 1 --- app/store/controller/Presale.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/store/controller/Presale.php b/app/store/controller/Presale.php index be168b4a..cee00943 100644 --- a/app/store/controller/Presale.php +++ b/app/store/controller/Presale.php @@ -95,7 +95,7 @@ class Presale extends Controller // 评论详情 $model = PreSaleModel::get($id); $data = $this->postForm(); - $data['p_time'] = format_time(time()); +// $data['p_time'] = format_time(time()); // 更新记录 if ($model->save($data)) { return $this->renderSuccess('更新成功'); @@ -108,7 +108,7 @@ class Presale extends Controller * @param int $id * @return Json */ - public function delete(int $id): Json + public function del(int $id): Json { // 店员详情 $model = PreSaleModel::get($id);