Commit 06dc14a6 by 徐高华

Merge branch '转web' into 'master'

add

See merge request !8
parents a77dd210 e91da05b
......@@ -36,7 +36,11 @@ public class QywxController {
}
@RequestMapping("self-post-json")
public Object selfPostJson(HttpServletRequest request,String url, @RequestBody String json, String ip) {
public Object selfPostJson(HttpServletRequest request, String url, @RequestBody Map<String, Object> jsonBody, String ip) {
String json = null ;
if(null != jsonBody) {
json = JSONObject.toJSONString(jsonBody) ;
}
logger.info("自建post json,url={},json={},{}", url, json,ip);
Map<String, Object> map = HttpClient.getWinxinResByJson(url, json, getIp(ip) , ip);
logger.info("end={}", JSONObject.toJSON(map));
......
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