引用统一命名

This commit is contained in:
2025-02-20 17:46:57 +08:00
parent cbdce12462
commit 1a50abf5c4
14 changed files with 58 additions and 74 deletions

View File

@@ -243,7 +243,7 @@ func (a *AdminApi) GetAveragePlaytimes(startTime, endTime int64) (responseObj *w
if endZero > nowZero {
endZero = nowZero
}
GetAveragePlaytimes()
//GetAveragePlaytimes()
totalMap := make(map[int32]map[int64]int64)
userSeverList, _ := GetUserSeverList()
date := startZero
@@ -333,7 +333,7 @@ func (a *AdminApi) GetAverageWatchADNum(startTime, endTime int64) (responseObj *
if endZero > nowZero {
endZero = nowZero
}
GetAveragePlaytimes()
//GetAveragePlaytimes()
totalMap := make(map[int32]map[int64]float32)
userSeverList, _ := GetUserSeverList()
date := startZero

View File

@@ -3,7 +3,7 @@ package httpServer
import (
"net/http"
"common/resultstatus"
"common/resultStatus"
"common/webServer"
)

View File

@@ -2,7 +2,7 @@ package httpServer
import (
config "common/configsYaml"
"common/resultstatus"
"common/resultStatus"
"common/webServer"
"goutil/logUtilPlus"
"reflect"

View File

@@ -2,7 +2,7 @@ package httpServer
import (
config "common/configsYaml"
"common/resultstatus"
"common/resultStatus"
"common/utils"
"common/webServer"
"encoding/json"

View File

@@ -28,6 +28,7 @@ func init() {
//抛出一个异常
logUtil.FatalLog("Failed to connect to RabbitMQ: %serr:%s", rabbitMQAddress, err.Error())
return
}
// 打开一个通道
@@ -36,6 +37,7 @@ func init() {
//抛出一个异常
logUtil.FatalLog("Failed to open a channelerr:%s", err.Error())
return
}
//循环数据库数量

View File

@@ -3,7 +3,7 @@ package webServer
import (
"net/http"
"common/resultstatus"
"common/resultStatus"
)
// 处理函数

View File

@@ -2,7 +2,7 @@ package webServer
import (
config "common/configsYaml"
"common/resultstatus"
"common/resultStatus"
"goutil/logUtilPlus"
"reflect"
"strconv"

View File

@@ -1,7 +1,7 @@
package webServer
import (
"common/resultstatus"
"common/resultStatus"
)
// ResponseObject

View File

@@ -2,7 +2,7 @@ package webServer
import (
config "common/configsYaml"
"common/resultstatus"
"common/resultStatus"
"common/utils"
"encoding/json"
"fmt"

View File

@@ -6,7 +6,7 @@ import (
"dbcenter/internal"
"sync"
_ "common/resultstatus"
_ "common/resultStatus"
)
var (

View File

@@ -2,7 +2,7 @@ package pay
import (
"common/remark"
"common/resultstatus"
"common/resultStatus"
"common/webServer"
"goutil/logUtilPlus"
"goutil/webUtil"

View File

@@ -4,7 +4,7 @@ import (
"common/connection"
"sync"
_ "common/resultstatus"
_ "common/resultStatus"
"common/webServer"
_ "paycenter/internal"
)