feat: statistics: finish dev
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/go-redis/redis"
|
||||
"go.uber.org/zap"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
@@ -17,6 +18,7 @@ var (
|
||||
RootRouter *gin.RouterGroup
|
||||
Logger *zap.SugaredLogger
|
||||
HttpClient map[string]*http.Client
|
||||
Redis *redis.Client
|
||||
)
|
||||
|
||||
func GetListenOn() string {
|
||||
@@ -33,4 +35,5 @@ func GetHttpClient(key string) (*http.Client, error) {
|
||||
|
||||
const (
|
||||
CHINA_NCOV_STATISTIC_URL = "https://view.inews.qq.com/g2/getOnsInfo?name=disease_h5"
|
||||
ENV_NOLOG = "nolog"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user