Commit 5334f505 authored by 杨阳's avatar 杨阳

1. 登录方式更换成 平台的微信登录

2. 认证字段返回bug fixed 3. 登录权限 bug修复 4. 农户信息入库问题测试 5. 修改userId字段 => amosUserId 6. 生成二维码参数值调整 (region->1, personal > 2)
parent 966625c9
......@@ -208,7 +208,7 @@ public class PeasantHouseholdWxController extends BaseController {
String accessToken = wxService.getAccessToken();
// 生成二维码
String page = miniprogramLoginPage;
String scene = "amosUserId=" + userInfo.getUserId() + "&qrCodeType=region";
String scene = "amosUserId=" + userInfo.getUserId() + "&qrCodeType=1";
// 返回当前用户ID
String picStr = wxService.getSmallProQrCodeResponse(accessToken, scene, page, Long.valueOf(width), null, null, null, response,
"二维码_" + userInfo.getUserId(), fileType);
......
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