|
@@ -92,14 +92,14 @@ public class TagTypeController {
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/{tagTypeId}", method = RequestMethod.GET)
|
|
|
- public APIResult<TagType> getTagType(@PathVariable("tagTypeId") String tagTypeId, @RequestParam("merchantId") String merchantId) {
|
|
|
+ public APIResult<TagType> getTagType(@PathVariable("tagTypeId") String tagTypeId) {
|
|
|
TagType tagType = tagTypeService.getTagType(tagTypeId);
|
|
|
|
|
|
if (tagType == null) {
|
|
|
return APIResult.error(ProductServiceAPICode.NOT_EXISTS);
|
|
|
}else{
|
|
|
//开始组装数据
|
|
|
- List<Tag> tagList = tagService.findByTypeCode(tagType.getCode(),merchantId);
|
|
|
+ List<Tag> tagList = tagService.findByTypeCode(tagType.getCode());
|
|
|
tagType.setTagList(tagList);
|
|
|
return APIResult.ok(tagType);
|
|
|
}
|