瀏覽代碼

fix 凭证

zoujiajian 1 周之前
父節點
當前提交
7025a1a104

+ 1 - 1
netflix-common/src/main/java/com/cyksj/common/constant/Constant.java

@@ -11,7 +11,7 @@ import java.util.List;
  */
 public interface Constant {
 	/** Internal credential for protected integration endpoints. */
-	String CREDENTIAL_API_KEY = "yhlxj-auth-zjj";
+	String CREDENTIAL_API_KEY = "Glyy6P0vxwh_lgfdigF_KXB9x2RRoetk";
 	/**
 	 * 一天秒数
 	 */

+ 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::getPassword)
+                .select(Account::getAccount, Account::getGptEmailPwd)
                 .last("limit 1"));
         if (netflixAccount == null) {
             throw BusinessRuntimeException.getInstance("奈飞账号不存在");