mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 07:41:53 +08:00
【优化】删除没用的代码
This commit is contained in:
parent
9152fbfdb7
commit
3ab218efc6
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user