Commit 3f3b5c16 by WeiCong

推送接口增加用户手机号推送

coas回调的url拦截调整
parent a59f6a58
......@@ -104,8 +104,10 @@ public class CoasHandleController {
String coasloginid = dataMap.get("coasloginid");
String coasuname = dataMap.get("coasuname");
String certdn = dataMap.get("certdn");
String coastel = dataMap.get("coastel");
String url = coas_server + "push3rduser?client_id={client_id}&client_secret={client_secret}&optype={optype}&" +
"coasloginid={coasloginid}&coasuname={coasuname}&coascertdn={coascertdn}&loginid={loginid}&uname={uname}";
"coasloginid={coasloginid}&coasuname={coasuname}&coascertdn={coascertdn}&loginid={loginid}&uname={uname}" +
"&coastel={coastel}";
Map<String, String> body = new HashMap<>();
body.put("client_id", client_id);
body.put("client_secret", client_secret);
......@@ -115,6 +117,7 @@ public class CoasHandleController {
body.put("coascertdn", certdn);
body.put("loginid", loginid);
body.put("uname", uname);
body.put("coastel", coastel);
log.info("准备请求:" + url + "请求参数:" + body);
ResponseEntity<String> res = HttpClientUtil.post(url, null, String.class, body);
String res_str = res.getBody();
......
......@@ -52,7 +52,7 @@
<mvc:exclude-mapping path="/login" />
<mvc:exclude-mapping path="/getUserByDn" />
<mvc:exclude-mapping path="/login/**" />
<mvc:exclude-mapping path="/oaut2/**" />
<mvc:exclude-mapping path="/oauth2/**" />
<!--<mvc:exclude-mapping path="/fileBrowser/**" />-->
<bean class="org.sss.presentation.noui.jwt.TokenInterceptor"></bean>
</mvc:interceptor>
......
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