Commit 18ed69ef authored by Quxl's avatar Quxl

x

parent a1ede968
......@@ -93,6 +93,15 @@ public class CommonController {
return Rjx.jsonOk().set("list", list).toJson();
}
@ApiOperation("获取配置信息")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", name = "appId", dataType = "String"),
@ApiImplicitParam(paramType = "query", name = "terminal", dataType = "String", required = false, value = "终端标识", defaultValue = "wechat"),
@ApiImplicitParam(paramType = "query", name = "langID", dataType = "String", required = false, value = "语言", defaultValue = "936"),
@ApiImplicitParam(paramType = "query", name = "sign", dataType = "String", required = true, value = "签名", defaultValue = ""),
@ApiImplicitParam(paramType = "query", name = "timestamp", dataType = "String", required = true, value = "时间戳", defaultValue = "")
})
@RequestMapping(value = "/getRegionList",method=RequestMethod.GET)
public Object getCommonValue(String appId) {
Map<String, Object> map = jdbcTemplate.queryForMap("select sOrgNO, sOrgDesc from tOrg where sAppID = ?", appId);
String ossSql = ""
......@@ -105,9 +114,7 @@ public class CommonController {
"where sCode = @ChoiceOssKEY";
Map<String, Object> omap = jdbcTemplate.queryForMap(ossSql);
Map<String, Object> cmap = jdbcTemplate.queryForMap("select sDesc,sValue1 from tSystemCtrl where sCode = 'ExemptCheck'");
return Rjx.jsonOk().set("OrgConfig", map).set("PicConfig", omap).set("CheckCofnig", cmap).toJson();
return Rjx.jsonOk().set("OrgInfo", map).set("PicInfo", omap).set("ExemptCheck", cmap).toJson();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment