FondleTalk/lib/network/NetworkConfig.dart
2024-07-16 22:23:54 +08:00

44 lines
1.3 KiB
Dart

class NetworkConfig {
static String ServerDomain_Online = BASE_URLS[SELECT_INDEX];
static String deviceID = ""; //设备ID
static String systemVersion = ""; //设备ID
/// 选择哪个域名做请求
static int SELECT_INDEX = 0;
static List BASE_URLS = [
"http://101.43.19.200:90/",
"http://101.43.19.200:90/",
];
static List BASE_URLS_AI = [
"http://101.43.19.200:90/",
];
static bool isTest = true;
static String token = "";
static String userToken = ""; //用户登录验签
static String AppId = "1";
static String BossId = "";
static String userId = "";
static String userName = "";
static String Version = "1.0.0";
static String Language = "en";
static const String accountLogin = "api/Account/AccountLogIn"; //登录
static const String sendPhoneNumber = "api/Account/SendPhoneNumber"; //获取验证码
static const String getCharacterIdList = "api/Chat/GetCharacterIdList"; //获取首页展示的人物ID列表
static const String getCharacterInfo = "api/chat/getCharacterInfo"; //获取人物信息
static const String getChatInfo = "api/Chat/GetChatInfo"; //获取聊天内容
static const String chat = "/v1/chat/completions"; //聊天
static const String uploadImg = "/upload/image"; //审核模式上传图片
static const String prompt = "/prompt"; //审核模式上传图片
}