Commit 30f47465 authored by hezhen's avatar hezhen

1232

parent 9370da80
......@@ -3,6 +3,7 @@ package com.xxfc.platform.universal.controller;
import com.github.wxiaoqi.security.auth.client.annotation.IgnoreUserToken;
import com.github.wxiaoqi.security.common.msg.ObjectRestResponse;
import com.xxfc.platform.universal.biz.WeixinService;
......@@ -17,6 +18,7 @@ import javax.servlet.http.HttpServletRequest;
*/
@RestController
@RequestMapping("info")
@IgnoreUserToken
public class UserInfoController {
......@@ -24,7 +26,7 @@ public class UserInfoController {
WeixinService weixinService;
@RequestMapping(value = "getOpenId", method = RequestMethod.GET) //匹配的是href中的download请求
@RequestMapping(value = "app/unauth/getOpenId", method = RequestMethod.GET) //匹配的是href中的download请求
public ObjectRestResponse sendSms(HttpServletRequest request) throws Exception {
return ObjectRestResponse.succ(weixinService.getSession(request));
}
......
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