update ip
continuous-integration/drone/push Build is passing Details

main
kelvin 3 years ago
parent d42f27b249
commit 68ac2e9f83

@ -81,7 +81,7 @@ func balanceConsumption(key string, model string, prompt_tokens int, completion_
// 构造post请求的body
reqBody := bytes.NewBuffer(jsonData)
url := "http://172.17.0.1:8080/other/usageRecord"
url := "http://172.18.0.1:8080/other/usageRecord"
req2, err := http.NewRequest("POST", url, reqBody)
// 设置http请求的header

@ -8,7 +8,7 @@ services:
environment:
# 时区上海
TZ: Asia/Shanghai
REDIS_ADDRESS: 172.17.0.1:6379
REDIS_ADDRESS: 172.18.0.1:6379
privileged: true
restart: always
ports:

Loading…
Cancel
Save