| 12345678910111213141516171819202122232425262728293031 |
- <?php
- namespace backend\modules\mall\controllers;
- use api\services\UserReportService;
- use backend\controllers\MallController;
- /**
- * 用户举报
- * @package backend\modules\mall\controllers
- */
- class UserReportController extends MallController
- {
- /**
- * 列表
- *
- * @return string
- */
- public function actionList()
- {
- if ($this->request->isAjax) {
- $params = $this->request->get();
- $service = new UserReportService(['mall_id' => $this->mall_id]);
- return $this->success('ok', $service->getPageList($params));
- }
- return $this->render($this->action->id);
- }
- }
|