From 9b46a6f934d9ec7bacccae019bd21b25978174ad Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期五, 13 十月 2023 14:32:56 +0800
Subject: [PATCH] 金汇社区模块 办事指南 社区活动
---
springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/LoginApi.java | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/LoginApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/LoginApi.java
index 23fa9db..dc4aa6a 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/LoginApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/LoginApi.java
@@ -325,13 +325,13 @@
//i小懒
WxMaQrcodeService wsCodeService = wxMaConfiguration.getMaService("wx98d62711dfbd8425").getQrcodeService();
byte[] bytes = wsCodeService.createWxaCodeUnlimitBytes("couponId=" + couponId,
- "/pages/user/getCoupon/getCoupon", true, "release", 30, true, null, false);
+ "pages/user/getCoupon/getCoupon", true, "release", 30, true, null, false);
String res = String.format("data:image/png;base64,%s", Base64.encode(bytes));
//花城
WxMaQrcodeService uuCodeService = wxMaConfiguration.getMaService("wx118de8a734d269f0").getQrcodeService();
byte[] hcBytes = uuCodeService.createWxaCodeUnlimitBytes("couponId=" + couponId,
- "/packageD/pages/user/getCoupon/getCoupon", true, "release", 30, true, null, false);
+ "packageD/pages/user/getCoupon/getCoupon", true, "release", 30, true, null, false);
String hcRes = String.format("data:image/png;base64,%s", Base64.encode(hcBytes));
Map<String,String> retMap = new HashMap<>();
@@ -348,7 +348,11 @@
@PostMapping("tfLogin")
public R tfLogin(@RequestBody UuLoginVO uuLoginVO){
try {
- uuLoginVO.setMobile(RSAUtils.decrypt(uuLoginVO.getMobile(), Constants.PRIVATE_KEY));
+ log.info("天府通办登录【{}】", JSONObject.toJSONString(uuLoginVO.getMobile()));
+ String str=RSAUtils.decrypt(uuLoginVO.getMobile(), Constants.PRIVATE_KEY);
+ log.info("天府通办登录【{}】", JSONObject.toJSONString(str));
+ uuLoginVO.setMobile(str);
+ //测试是否能正常添加用户
} catch (Exception e) {
e.printStackTrace();
return R.fail();
--
Gitblit v1.7.1