소스 검색

Merge remote-tracking branch 'origin/master'

叶君翔 3 년 전
부모
커밋
e6739788d1
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      lb-module/src/main/java/com/ydd/module/service/impl/AppInfoServiceImpl.java

+ 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);