Commit e91da05b by 徐高华

add

parent 2f3792eb
......@@ -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