引用统一命名
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -3,7 +3,7 @@ package httpServer
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"common/resultstatus"
|
||||
"common/resultStatus"
|
||||
"common/webServer"
|
||||
)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package httpServer
|
||||
|
||||
import (
|
||||
config "common/configsYaml"
|
||||
"common/resultstatus"
|
||||
"common/resultStatus"
|
||||
"common/webServer"
|
||||
"goutil/logUtilPlus"
|
||||
"reflect"
|
||||
|
||||
@@ -2,7 +2,7 @@ package httpServer
|
||||
|
||||
import (
|
||||
config "common/configsYaml"
|
||||
"common/resultstatus"
|
||||
"common/resultStatus"
|
||||
"common/utils"
|
||||
"common/webServer"
|
||||
"encoding/json"
|
||||
|
||||
@@ -28,6 +28,7 @@ func init() {
|
||||
|
||||
//抛出一个异常
|
||||
logUtil.FatalLog("Failed to connect to RabbitMQ: %s,err:%s", rabbitMQAddress, err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// 打开一个通道
|
||||
@@ -36,6 +37,7 @@ func init() {
|
||||
|
||||
//抛出一个异常
|
||||
logUtil.FatalLog("Failed to open a channel,err:%s", err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
//循环数据库数量
|
||||
|
||||
@@ -3,7 +3,7 @@ package webServer
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"common/resultstatus"
|
||||
"common/resultStatus"
|
||||
)
|
||||
|
||||
// 处理函数
|
||||
|
||||
@@ -2,7 +2,7 @@ package webServer
|
||||
|
||||
import (
|
||||
config "common/configsYaml"
|
||||
"common/resultstatus"
|
||||
"common/resultStatus"
|
||||
"goutil/logUtilPlus"
|
||||
"reflect"
|
||||
"strconv"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package webServer
|
||||
|
||||
import (
|
||||
"common/resultstatus"
|
||||
"common/resultStatus"
|
||||
)
|
||||
|
||||
// ResponseObject
|
||||
|
||||
@@ -2,7 +2,7 @@ package webServer
|
||||
|
||||
import (
|
||||
config "common/configsYaml"
|
||||
"common/resultstatus"
|
||||
"common/resultStatus"
|
||||
"common/utils"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"dbcenter/internal"
|
||||
"sync"
|
||||
|
||||
_ "common/resultstatus"
|
||||
_ "common/resultStatus"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -2,7 +2,7 @@ package pay
|
||||
|
||||
import (
|
||||
"common/remark"
|
||||
"common/resultstatus"
|
||||
"common/resultStatus"
|
||||
"common/webServer"
|
||||
"goutil/logUtilPlus"
|
||||
"goutil/webUtil"
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"common/connection"
|
||||
"sync"
|
||||
|
||||
_ "common/resultstatus"
|
||||
_ "common/resultStatus"
|
||||
"common/webServer"
|
||||
_ "paycenter/internal"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user