Commit fb571ee9 authored by 军师中郎将's avatar 军师中郎将

通用上传 获取 省厅平台接口封装

parent 7522f3b7
...@@ -43,6 +43,31 @@ public class TokenController { ...@@ -43,6 +43,31 @@ public class TokenController {
return AjaxResult.success(json); return AjaxResult.success(json);
} }
/**
* 通用获取省厅平台接口
* @return AjaxResult
* @throws Exception
*/
@GetMapping(value = "/currencyGetInfo")
public AjaxResult currencyGetInfo(Map<String,Object> map ,String domain)throws Exception
{
JSONObject json = outUtil.getInfo(domain,"READ",map);
return AjaxResult.success(json);
}
/**
* 通用上报省厅平台接口
* @return AjaxResult
* @throws Exception
*/
@GetMapping(value = "/currencySetInfo")
public AjaxResult currencySetInfo(List<Map<String,Object>> list ,String domain)throws Exception
{
JSONObject json = outUtil.setInfo(domain,"WRITE",list);
return AjaxResult.success(json);
}
@GetMapping(value = "/setInfo") @GetMapping(value = "/setInfo")
public AjaxResult setInfo()throws Exception public AjaxResult setInfo()throws Exception
{ {
......
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