zoujiajian 11 月之前
父節點
當前提交
3e4d401ea8

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

@@ -326,6 +326,11 @@ public interface Constant {
 
 	String CLAUDE_CODE_ONLY_ACCOUNT = "claudecode123";
 
+	/**
+	 * nano
+	 */
+	String NANO_ONLY_ACCOUNT = "nano123";
+
 	/**
 	 * 免登录渠道
 	 */

+ 4 - 0
netflix-service/src/main/java/com/cyksj/service/groups/impl/GroupFunServiceImpl.java

@@ -120,6 +120,10 @@ public class GroupFunServiceImpl implements GroupsFuncService {
 			if (goodsId == Constant.CLAUDE_CODE_GOODS_ID) {
 				account = Constant.CLAUDE_CODE_ONLY_ACCOUNT;
 			}
+			//nano code
+			if (goodsId == Constant.NANO_GOODS_ID) {
+				account = Constant.NANO_ONLY_ACCOUNT;
+			}
 			AccountView accountView = beanSearcher.searchFirst(AccountView.class, MapUtils.builder()
 					.field(AccountView::getGoodsId, goodsId)
 					.field(AccountView::getAccount, account).