提交 6bc3abdf 编写于 作者: sq3536's avatar sq3536

codelist接管

上级 3a33137d
...@@ -188,15 +188,15 @@ public class OUCoreResource ...@@ -188,15 +188,15 @@ public class OUCoreResource
@Cacheable( value="ibzou-model",key = "'catalog:'+#p0") @Cacheable( value="ibzou-model",key = "'catalog:'+#p0")
@RequestMapping(method = RequestMethod.GET, value = "/dictionarys/catalogs/{catalog}") @RequestMapping(method = RequestMethod.GET, value = "/dictionarys/catalogs/ibzou{catalog}")
public ResponseEntity<JSONObject> getCatalog(@PathVariable("catalog") String catalog) { public ResponseEntity<JSONObject> getCatalog(@PathVariable("catalog") String catalog) {
return getOptions(catalog); return getOptions("ibzou"+catalog);
} }
@Cacheable( value="ibzou-model",key = "'codelist:'+#p0") @Cacheable( value="ibzou-model",key = "'codelist:'+#p0")
@RequestMapping(method = RequestMethod.GET, value = "/dictionarys/codelist/{catalog}") @RequestMapping(method = RequestMethod.GET, value = "/dictionarys/codelist/ibzou{catalog}")
public ResponseEntity<JSONObject> getCodeList(@PathVariable("catalog") String catalog) { public ResponseEntity<JSONObject> getCodeList(@PathVariable("catalog") String catalog) {
return getOptions(catalog); return getOptions("ibzou"+catalog);
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册