提交 8e8c72ff authored 作者: 吴德鹏's avatar 吴德鹏

属性管理

上级 82c8b945
...@@ -115,7 +115,8 @@ public class AttributesController { ...@@ -115,7 +115,8 @@ public class AttributesController {
} }
/** /**
* 查询所有 * 查询所有的商品属性 url(../attributes/queryAttrNames)
*
* @return * @return
*/ */
@RequestMapping("/queryAttrNames") @RequestMapping("/queryAttrNames")
...@@ -133,6 +134,13 @@ public class AttributesController { ...@@ -133,6 +134,13 @@ public class AttributesController {
return R.ok().put("list", attrNameList); return R.ok().put("list", attrNameList);
} }
/**
* 属性值
*
* @param id 属性Id
* @param attrDesc 搜索关键字 如(l)
* @return url(../attributes/queryAttrDescs?id=2&attrDesc=l)
*/
@RequestMapping("/queryAttrDescs") @RequestMapping("/queryAttrDescs")
@ResponseBody @ResponseBody
@IgnoreAuth @IgnoreAuth
...@@ -161,9 +169,11 @@ public class AttributesController { ...@@ -161,9 +169,11 @@ public class AttributesController {
/** /**
* 新版商品属性(整合旧版数据) * 新版商品属性(整合旧版数据)
* 商品属性回显
* *
* @param itemId * @param itemId
* @return * @return
* url(../attributes/queryAttrInfo?itemId=186ca4e542ac41ae8a9f6fbec72aac25)
*/ */
@IgnoreAuth @IgnoreAuth
@GetMapping("/queryAttrInfo") @GetMapping("/queryAttrInfo")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论