页面修改

This commit is contained in:
huangdeliang
2020-12-02 01:23:30 +08:00
parent 07c6d066c8
commit 270da3950c
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ spring:
# 主库数据源
master:
url: jdbc:mysql://localhost:3306/stdiet_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
password: Ttj4fAHU
password: Ttj4fTtj4fAHUAHU
username: root
slave:
# 从数据源开关/默认关闭

View File

@ -109,7 +109,7 @@ public class SysWxUserInfoController extends BaseController {
// 查询微信用户
SysWxUserInfo userInfo = sysWxUserInfoService.selectSysWxUserInfoById(sysWxUserInfo.getOpenid());
if (StringUtils.isNull(userInfo) && StringUtils.isEmpty(sysWxUserInfo.getPhone())
|| StringUtils.isEmpty(userInfo.getPhone()) && StringUtils.isEmpty(sysWxUserInfo.getPhone())) {
|| StringUtils.isNotNull(userInfo) && StringUtils.isEmpty(userInfo.getPhone()) && StringUtils.isEmpty(sysWxUserInfo.getPhone())) {
return AjaxResult.error(5001, "没有手机号");
}