瀏覽代碼

网页列表接口修复

Signed-off-by: anderx <312518615@qq.com>
anderx 6 年之前
父節點
當前提交
9167e93c7c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/kede/common/controller/publicApiController.java

+ 2 - 2
src/main/java/com/kede/common/controller/publicApiController.java

@@ -4,9 +4,9 @@ package com.kede.common.controller;
 
 import javax.annotation.Resource;
 
-import org.springframework.data.convert.ReadingConverter;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RestController;
 
 import com.kede.banners.service.BannersService;
 import com.kede.common.bo.Result;
@@ -20,7 +20,7 @@ import com.kede.recruitment.bo.InputRecruitment;
 import com.kede.recruitment.service.RecruitmentService;
 
 
-@ReadingConverter
+@RestController
 @RequestMapping(value = "/open")
 public class publicApiController extends BaseController {