1.对象与json互转
//1、将对象转为json
String valueJson = JSON.toJSONString(parentMap);
//2、将json转为对象
Map<String, List<Catelog2Vo>> result = JSON.parseObject(catalogJson, new TypeReference<Map<String, List<Catelog2Vo>>>(){});
2.@PathVariable的使用
@GetMapping("/(skuId}.htm1")
public String skuItem(@PathVariable("skuId") Long skuId){}