记得上下班打卡 | git大法好,push需谨慎

Commit 90186955 authored by jiangxiulong's avatar jiangxiulong

userId

parent cdf7a02e
...@@ -280,16 +280,14 @@ public class SweetWechatTemplateServiceImpl { ...@@ -280,16 +280,14 @@ public class SweetWechatTemplateServiceImpl {
oldAdamPhone = ""; oldAdamPhone = "";
} }
if ((!phone.isEmpty() || !userId.isEmpty()) && (oldAdamUserId.isEmpty() || oldAdamPhone.isEmpty())) { if ((!phone.isEmpty() || !userId.isEmpty()) && (oldAdamUserId.isEmpty() || oldAdamPhone.isEmpty())) {
if (!phone.isEmpty()) { if (phone.isEmpty()) {
sweetWechatUser.setAdamPhone(phone); phone = oldAdamPhone;
} else {
sweetWechatUser.setAdamPhone(oldAdamPhone);
} }
if (!userId.isEmpty()) { if (userId.isEmpty()) {
sweetWechatUser.setAdamUserId(userId); userId = oldAdamUserId;
} else {
sweetWechatUser.setAdamUserId(oldAdamUserId);
} }
sweetWechatUser.setAdamPhone(phone);
sweetWechatUser.setAdamUserId(userId);
if (null == type || type <= 1) { if (null == type || type <= 1) {
redisDataUtils.setSweetWechatUser(sweetWechatUser); redisDataUtils.setSweetWechatUser(sweetWechatUser);
} else if (type == 2) { } else if (type == 2) {
......
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