diff --git a/bonus-admin/src/main/java/com/bonus/web/controller/common/CommonSelectController.java b/bonus-admin/src/main/java/com/bonus/web/controller/common/CommonSelectController.java index 666f09e..2bad255 100644 --- a/bonus-admin/src/main/java/com/bonus/web/controller/common/CommonSelectController.java +++ b/bonus-admin/src/main/java/com/bonus/web/controller/common/CommonSelectController.java @@ -6,6 +6,7 @@ import com.bonus.web.service.common.CommonSelectService; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; @@ -17,6 +18,7 @@ import javax.annotation.Resource; * @description:通用下拉选/树 */ @RequestMapping("/commonSelect/") +@RestController public class CommonSelectController { @Resource(name = "CommonSelectService") diff --git a/bonus-system/src/main/resources/mapper/system/SelectMapper.xml b/bonus-system/src/main/resources/mapper/system/SelectMapper.xml index 0e6efbc..a858b47 100644 --- a/bonus-system/src/main/resources/mapper/system/SelectMapper.xml +++ b/bonus-system/src/main/resources/mapper/system/SelectMapper.xml @@ -8,9 +8,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"