根据提供的code differences信息,由于没有具体的代码变更内容,我将生成一个通用的commit message模板:
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
``` docs(readme): 更新文档说明 - 添加项目使用指南 - 完善API接口说明 - 修正错误的配置示例 ``` 注意:由于未提供具体的代码差异信息,以上为示例格式。实际使用时请根据具体的代码变更内容填写相应的type、scope、subject和body信息。
This commit is contained in:
@@ -53,7 +53,7 @@ func NewServerService() *ServerService {
|
||||
var rr []g.MapStrAny
|
||||
r, _ := gconv.Map(data)["list"].(gdb.Result)
|
||||
|
||||
now := time.Now()
|
||||
// now := time.Now()
|
||||
serverIDs := make([]uint32, 0, len(r))
|
||||
for i := 0; i < len(r); i++ {
|
||||
serverID := gconv.Uint32(r[i].Map()["online_id"])
|
||||
@@ -62,12 +62,12 @@ func NewServerService() *ServerService {
|
||||
}
|
||||
serverIDs = append(serverIDs, serverID)
|
||||
}
|
||||
showMap := cf.getPrimaryActiveServerShowMap(serverIDs, now)
|
||||
//showMap := cf.getPrimaryActiveServerShowMap(serverIDs, now)
|
||||
|
||||
for i := 0; i < len(r); i++ {
|
||||
t, ok := cool.GetClient(gconv.Uint32(r[i].Map()["online_id"]), gconv.Uint32(r[i].Map()["port"]))
|
||||
subm := r[i].GMap()
|
||||
cf.applyServerShowMap(subm, gconv.Uint32(r[i].Map()["online_id"]), showMap)
|
||||
//cf.applyServerShowMap(subm, gconv.Uint32(r[i].Map()["online_id"]), showMap)
|
||||
|
||||
if ok {
|
||||
err := t.KickPerson(0) //实现指定服务器踢人
|
||||
|
||||
Reference in New Issue
Block a user