feature/main20240421
guojia 10 months ago
parent 5c4b8000c2
commit d16105ff65
  1. 2
      app/store/controller/Merchant.php

@ -42,7 +42,7 @@ class Merchant extends Controller
public function edit(): Json public function edit(): Json
{ {
// 商城详情 // 商城详情
$model = MerchantModel::detail($this->storeId); $model = MerchantModel::detail($this->postForm()['merchant_id']);
// 更新记录 // 更新记录
if (!$model->edit($this->postForm())) { if (!$model->edit($this->postForm())) {
return $this->renderError($model->getError() ?: '更新失败'); return $this->renderError($model->getError() ?: '更新失败');

Loading…
Cancel
Save