Sfoglia il codice sorgente

fix 奈飞账号车队类型

zoujiajian 1 mese fa
parent
commit
3a6ce38bdf

+ 1 - 1
netflix-web/src/main/java/com/cyksj/web/controller/manage/account/CmsAccountController.java

@@ -149,7 +149,7 @@ public class CmsAccountController {
         Account netflixAccount = accountService.getOne(Wrappers.lambdaQuery(Account.class)
                 .eq(Account::getGoodsId, Constant.NETFLIX_GID)
                 .eq(Account::getAccount, account)
-                .select(Account::getAccount, Account::getGptEmailPwd)
+                .select(Account::getAccount, Account::getGptEmailPwd,Account::getId)
                 .last("limit 1"));
         if (netflixAccount == null) {
             throw BusinessRuntimeException.getInstance("奈飞账号不存在");