|
@@ -114,11 +114,10 @@ public class WeChatController {
|
|
|
* 跳转首页权限
|
|
|
*/
|
|
|
@GetMapping("/getPageAuthorization")
|
|
|
- public void getPageAuthorization() throws UnsupportedEncodingException {
|
|
|
+ public void getPageAuthorization(@RequestParam(value = "openId",required = false) String openId) throws UnsupportedEncodingException {
|
|
|
String http = "https://";
|
|
|
String code = request.getParameter("code");
|
|
|
- String userAgent = request.getHeader("User-Agent");
|
|
|
- String openId = request.getParameter("openId");
|
|
|
+
|
|
|
if((openId != null) && (StringUtils.isNotBlank(openId))){
|
|
|
try{
|
|
|
LambdaQueryWrapper<MceMbuser> queryWrapper = Wrappers.lambdaQuery();
|