Commit c4f966ed authored by hezhen's avatar hezhen

123

parent ed1ce9c1
......@@ -42,21 +42,17 @@ public class WeixinController {
@Value("${wx.url}")
private String url;
@Value("${wx.domainUrl}")
private String domainUrl;
;
@RequestMapping(value ="/app/unauth/wxLogin",method = RequestMethod.GET)
@IgnoreUserToken
public String wxLogin(@RequestParam(value = "callback",defaultValue = "")String redirec_url,HttpServletRequest request){
public String wxLogin(@RequestParam(value = "callback",defaultValue = "")String redirec_url){
if (StringUtils.isBlank(redirec_url)){
redirec_url="";
}
redirec_url=domainUrl+"/"+redirec_url;
log.info("-----微信wxLogin---redirec_url=="+redirec_url);
try {
String encrypt_curr_url = Base64.encode(redirec_url.getBytes("utf-8"));
......
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