|
@@ -0,0 +1,40 @@
|
|
|
+package com.zhongzheng.controller.base;
|
|
|
+
|
|
|
+import com.zhongzheng.common.core.controller.BaseController;
|
|
|
+import com.zhongzheng.common.core.domain.AjaxResult;
|
|
|
+import com.zhongzheng.modules.base.bo.ConsoleQueryBo;
|
|
|
+import com.zhongzheng.modules.base.domain.ApplyAreas;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import lombok.RequiredArgsConstructor;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
+
|
|
|
+import java.util.HashMap;
|
|
|
+import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 控制台Controller
|
|
|
+ *
|
|
|
+ * @author hjl
|
|
|
+ * @date 2022-05-05
|
|
|
+ */
|
|
|
+@Api(value = "控制台控制器", tags = {"控制台控制器"})
|
|
|
+@RequiredArgsConstructor(onConstructor_ = @Autowired)
|
|
|
+@RestController
|
|
|
+@RequestMapping("/base/console")
|
|
|
+public class ConsoleController extends BaseController {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查询报考市地区列表
|
|
|
+ */
|
|
|
+ @ApiOperation("控制台学员数据")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:areas:city_list')")
|
|
|
+ @GetMapping("/studentData")
|
|
|
+ public AjaxResult<Map<String,Object>> studentData(ConsoleQueryBo bo) {
|
|
|
+ Map<String,Object> numMap = new HashMap<>();
|
|
|
+ return AjaxResult.success(numMap);
|
|
|
+ }
|
|
|
+}
|