Browse Source

Merge remote-tracking branch 'origin/master'

叶君翔 3 years atrás
parent
commit
e6739788d1

+ 1 - 2
lb-module/src/main/java/com/ydd/module/service/impl/AppInfoServiceImpl.java

@@ -53,8 +53,7 @@ public class AppInfoServiceImpl extends ServiceImpl<AppInfoMapper, AppInfo> impl
     String appKey = "100001";
     List<AppInfo> appInfoList = baseMapper.selectList(new QueryWrapper<AppInfo>().eq("deleted", DeletedEnum.NO.getValue()).orderByDesc("id"));
     if (CollectionUtils.isNotEmpty(appInfoList)) {
-      String addAppId = Integer.parseInt(appInfoList.get(0).getAppId()) + 1 + "";
-      appKey = addAppId;
+      appKey = Integer.parseInt(appInfoList.get(0).getAppId()) + 1 + "";
     }
 
     String appSecret = getAppInfo(32);