mirror of
https://gitee.com/blackfox/geekai.git
synced 2024-12-02 20:28:00 +08:00
opt: optimize vip recharge logic
This commit is contained in:
parent
9929746b1d
commit
12799b7159
@ -35,7 +35,7 @@ func NewServicePool(db *gorm.DB, redisCli *redis.Client, manager *oss.UploaderMa
|
||||
if config.Enabled == false {
|
||||
continue
|
||||
}
|
||||
config.ApiURL = "https://one-api.bltcy.top"
|
||||
config.ApiURL = "https://api.chat-plus.net"
|
||||
client := plus.NewClient(config)
|
||||
name := fmt.Sprintf("mj-service-plus-%d", k)
|
||||
servicePlus := plus.NewService(name, taskQueue, notifyQueue, 10, 600, db, client)
|
||||
|
Loading…
Reference in New Issue
Block a user