mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-18 01:06:39 +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 {
|
if config.Enabled == false {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
config.ApiURL = "https://one-api.bltcy.top"
|
config.ApiURL = "https://api.chat-plus.net"
|
||||||
client := plus.NewClient(config)
|
client := plus.NewClient(config)
|
||||||
name := fmt.Sprintf("mj-service-plus-%d", k)
|
name := fmt.Sprintf("mj-service-plus-%d", k)
|
||||||
servicePlus := plus.NewService(name, taskQueue, notifyQueue, 10, 600, db, client)
|
servicePlus := plus.NewService(name, taskQueue, notifyQueue, 10, 600, db, client)
|
||||||
|
Loading…
Reference in New Issue
Block a user