ztt 9 months ago
parent ec301a2dd2
commit 5b7134a327
  1. 4
      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);

Loading…
Cancel
Save