This commit is contained in:
xsl
2026-08-10 19:09:43 +08:00
parent f67f18dd39
commit 624be459a3
3 changed files with 56 additions and 2 deletions
+6 -2
View File
@@ -3,11 +3,15 @@ class Config:
# 应用名称
APP_NAME = "Hair Change Color"
# 远程发型更换API地址
REMOTE_API_URL = "http://xiangsilian.com:18801/api/swapHair/v1"
# 远程头发颜色更换API地址
REMOTE_HAIR_COLOR_API_URL = "http://xiangsilian.com:18801/hairColor/v2"
# 远程发型更换API地址
# REMOTE_API_URL = "http://117.50.160.71:8801/api/swapHair/v1"
# 远程头发颜色更换API地址
# REMOTE_HAIR_COLOR_API_URL = "http://117.50.160.71:8801/hairColor/v2"
# 远程API请求超时时间(秒)
API_TIMEOUT = 120 # 延长超时时间,因为发型更换可能需要60秒