mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-11-04 08:06:12 +08:00 
			
		
		
		
	【优化】删除没用的代码
This commit is contained in:
		@ -33,18 +33,6 @@ public enum AiPlatformEnum {
 | 
				
			|||||||
     */
 | 
					     */
 | 
				
			||||||
    private final String name;
 | 
					    private final String name;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//    public static List<AiPlatformEnum> CHAT_PLATFORM_LIST = Lists.newArrayList(
 | 
					 | 
				
			||||||
//            AiPlatformEnum.YI_YAN,
 | 
					 | 
				
			||||||
//            AiPlatformEnum.QIAN_WEN,
 | 
					 | 
				
			||||||
//            AiPlatformEnum.XING_HUO,
 | 
					 | 
				
			||||||
//            AiPlatformEnum.OPENAI
 | 
					 | 
				
			||||||
//    );
 | 
					 | 
				
			||||||
//
 | 
					 | 
				
			||||||
//    public static List<AiPlatformEnum> IMAGE_PLATFORM_LIST = Lists.newArrayList(
 | 
					 | 
				
			||||||
//            AiPlatformEnum.OPEN_AI_DALL,
 | 
					 | 
				
			||||||
//            AiPlatformEnum.MIDJOURNEY
 | 
					 | 
				
			||||||
//    );
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    public static AiPlatformEnum validatePlatform(String platform) {
 | 
					    public static AiPlatformEnum validatePlatform(String platform) {
 | 
				
			||||||
        for (AiPlatformEnum platformEnum : AiPlatformEnum.values()) {
 | 
					        for (AiPlatformEnum platformEnum : AiPlatformEnum.values()) {
 | 
				
			||||||
            if (platformEnum.getPlatform().equals(platform)) {
 | 
					            if (platformEnum.getPlatform().equals(platform)) {
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user