优化代码
This commit is contained in:
parent
03c64af20d
commit
0713ff1e6f
@ -396,7 +396,9 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserDao, AppUserEntity> i
|
|||||||
SystemEntity system = systemService.lambdaQuery()
|
SystemEntity system = systemService.lambdaQuery()
|
||||||
.eq(SystemEntity::getConfig, ConfigConstant.MINIAPP)
|
.eq(SystemEntity::getConfig, ConfigConstant.MINIAPP)
|
||||||
.one();
|
.one();
|
||||||
|
if(system == null){
|
||||||
|
throw new LinfengException("后台配置项不存在");
|
||||||
|
}
|
||||||
//小程序唯一标识 (在微信小程序管理后台获取)
|
//小程序唯一标识 (在微信小程序管理后台获取)
|
||||||
String appId = system.getValue();
|
String appId = system.getValue();
|
||||||
//小程序的 app secret (在微信小程序管理后台获取)
|
//小程序的 app secret (在微信小程序管理后台获取)
|
||||||
|
Loading…
Reference in New Issue
Block a user