Prechádzať zdrojové kódy

Merge branch 'zx_saas_1220' of http://git.dayaedu.com/yonge/mec into test

zouxuan 1 rok pred
rodič
commit
4e159597de

+ 5 - 5
mec-application/src/main/java/com/ym/mec/web/controller/school/SchoolSysSuggestionController.java

@@ -20,7 +20,7 @@ import java.util.List;
 
 @Api(tags = "意见反馈")
 @RestController
-@RequestMapping("${app-config.url.web:}/suggestion")
+@RequestMapping("${app-config.url.web:}/")
 public class SchoolSysSuggestionController extends BaseController {
 
     @Autowired
@@ -31,7 +31,7 @@ public class SchoolSysSuggestionController extends BaseController {
     private SysUserService sysUserService;
 
     @ApiOperation(value = "新增建议")
-    @PostMapping("add")
+    @PostMapping("suggestion/add")
     public Object add(SysSuggestion sysSuggestion) {
         SysUser sysUser = sysUserService.getUser();
     	sysSuggestion.setClientType("SYSTEM");
@@ -44,20 +44,20 @@ public class SchoolSysSuggestionController extends BaseController {
     }
 
     @ApiOperation(value = "分页查询")
-    @PostMapping("queryPage")
+    @PostMapping("suggestion/queryPage")
     public Object queryPage(@RequestBody SysSuggestionQueryInfo queryInfo) {
         queryInfo.setUserId(sysUserService.getUserId());
         return succeed(suggestionService.queryPage(queryInfo));
     }
 
     @ApiOperation(value = "获取详情")
-    @GetMapping("detail")
+    @GetMapping("suggestion/detail")
     public HttpResponseResult<SysSuggestion> detail(Long id) {
         return succeed(suggestionService.getDetail(id));
     }
 
     @ApiOperation(value = "分页查询")
-    @PostMapping("queryAll")
+    @PostMapping("suggestionType/queryAll")
     public HttpResponseResult<List<SysSuggestionType>> queryAll() {
         return succeed(sysSuggestionTypeService.lambdaQuery()
                 .eq(SysSuggestionType::getTenantId, TenantContextHolder.getTenantId())