admin/app/shop/controller/branch/Activity.php
@@ -25,6 +25,18 @@ } /** * 审核活动 */ public function audit($activity_id) { $model = new ActivityModel; if ($model->audit($activity_id, $this->postData())) { return $this->renderSuccess('审核成功'); } return $this->renderError($model->getError() ?: '审核失败'); } /** * 添加活动 */ public function add()