首页>代码>基于SSM的服装商场前台加后台管理系统 >/clothStore/src/main/java/com/clothing/controller/AdminClothSortController.java
package com.clothing.controller; import com.clothing.pojo.ClothSort; import com.clothing.service.ClothSortService; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.List; /** * @author 是一个鸽子啊 * @date 2020/4/14 * @qq 364826415 */ @RestController public class AdminClothSortController { @Autowired @Qualifier("ClothSortServiceImpl") private ClothSortService clothSortService; @RequestMapping("/queryALLClothSort") private String queryALLClothSort() throws JsonProcessingException { List<ClothSort> clothSorts = clothSortService.queryClothSortList(); ObjectMapper objectMapper = new ObjectMapper(); String val = objectMapper.writeValueAsString(clothSorts); return val; } }

微信网友_7041036943331328 LV7
2024年12月31日
zolscy LV24
2024年11月28日
曾显示 LV6
2024年7月7日
TY0165 LV20
2024年6月22日
夜上清元 LV8
2024年3月15日
之额着 LV3
2024年2月19日
admin_z LV22
2024年2月4日
ljhgff LV1
2024年1月27日
微信网友_6512020493586432 LV2
2023年9月5日
qq2901732871 LV9
2023年6月28日

sn764889012
4月16日
暂无贡献等级
84126415 LV2
4月8日
orang801 LV2
2月24日
ryadmin123 LV2
2月15日
xiaoaitx LV8
1月1日
微信网友_7041036943331328 LV7
2024年12月31日
ma406805131 LV19
2024年12月22日
zolscy LV24
2024年11月28日
我是你唯一的执着 LV4
2024年11月28日
微信网友_6377331253415936 LV3
2024年11月24日