opt: optimize vip recharge logic

This commit is contained in:
RockYang 2024-01-15 10:28:46 +08:00
parent 9929746b1d
commit 12799b7159

View File

@ -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)