Browse Source

第一版个人中心

master
zhipeng.hu 3 years ago
parent
commit
5c6e03b42c
  1. 1
      api/v1/autocode/enter.go
  2. 143
      api/v1/autocode/user_info.go
  3. 47
      api/v1/enter.go
  4. 20
      config.yaml
  5. 484
      go.sum
  6. 2
      initialize/db_list.go
  7. 34
      initialize/gorm_pgsql.go
  8. 1
      initialize/router.go
  9. 28
      log/server_error.log
  10. 458
      log/server_info.log
  11. 7
      main.go
  12. 21
      model/autocode/request/user_info.go
  13. 26
      model/autocode/user_info.go
  14. 6
      router/autocode/auto_code_example.go
  15. 1
      router/autocode/enter.go
  16. 28
      router/autocode/user_info.go
  17. 1
      service/autocode/enter.go
  18. 125
      service/autocode/user_info.go
  19. 57
      utils/captcha/redis.go
  20. 103
      utils/wechat.go

1
api/v1/autocode/enter.go

@ -2,5 +2,6 @@ package autocode
type ApiGroup struct { type ApiGroup struct {
// Code generated by github.com/flipped-aurora/yibu/server Begin; DO NOT EDIT. // Code generated by github.com/flipped-aurora/yibu/server Begin; DO NOT EDIT.
UserInfoApi
// Code generated by github.com/flipped-aurora/yibu/server End; DO NOT EDIT. // Code generated by github.com/flipped-aurora/yibu/server End; DO NOT EDIT.
} }

143
api/v1/autocode/user_info.go

@ -0,0 +1,143 @@
package autocode
import (
"autocode/global"
"autocode/model/autocode"
autocodeReq "autocode/model/autocode/request"
"autocode/model/common/request"
"autocode/model/common/response"
"autocode/service"
"github.com/gin-gonic/gin"
"go.uber.org/zap"
)
type UserInfoApi struct {
}
var userInfoService = service.ServiceGroupApp.AutoCodeServiceGroup.UserInfoService
// CreateUserInfo 创建UserInfo
// @Tags UserInfo
// @Summary 创建UserInfo
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body autocode.UserInfo true "创建UserInfo"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /userInfo/createUserInfo [post]
func (userInfoApi *UserInfoApi) CreateUserInfo(c *gin.Context) {
var userInfo autocode.UserInfo
_ = c.ShouldBindJSON(&userInfo)
if err := userInfoService.CreateUserInfo(userInfo); err != nil {
global.GVA_LOG.Error("创建失败!", zap.Error(err))
response.FailWithMessage("创建失败", c)
} else {
response.OkWithMessage("创建成功", c)
}
}
// DeleteUserInfo 删除UserInfo
// @Tags UserInfo
// @Summary 删除UserInfo
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body autocode.UserInfo true "删除UserInfo"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /userInfo/deleteUserInfo [delete]
func (userInfoApi *UserInfoApi) DeleteUserInfo(c *gin.Context) {
var userInfo autocode.UserInfo
_ = c.ShouldBindJSON(&userInfo)
if err := userInfoService.DeleteUserInfo(userInfo); err != nil {
global.GVA_LOG.Error("删除失败!", zap.Error(err))
response.FailWithMessage("删除失败", c)
} else {
response.OkWithMessage("删除成功", c)
}
}
// DeleteUserInfoByIds 批量删除UserInfo
// @Tags UserInfo
// @Summary 批量删除UserInfo
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除UserInfo"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}"
// @Router /userInfo/deleteUserInfoByIds [delete]
func (userInfoApi *UserInfoApi) DeleteUserInfoByIds(c *gin.Context) {
var IDS request.IdsReq
_ = c.ShouldBindJSON(&IDS)
if err := userInfoService.DeleteUserInfoByIds(IDS); err != nil {
global.GVA_LOG.Error("批量删除失败!", zap.Error(err))
response.FailWithMessage("批量删除失败", c)
} else {
response.OkWithMessage("批量删除成功", c)
}
}
// UpdateUserInfo 更新UserInfo
// @Tags UserInfo
// @Summary 更新UserInfo
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body autocode.UserInfo true "更新UserInfo"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /userInfo/updateUserInfo [put]
func (userInfoApi *UserInfoApi) UpdateUserInfo(c *gin.Context) {
var userInfo autocodeReq.UserInfoConf
_ = c.ShouldBindJSON(&userInfo)
if err := userInfoService.UpdateUserInfo(userInfo); err != nil {
global.GVA_LOG.Error("更新失败!", zap.Error(err))
response.FailWithMessage("更新失败", c)
} else {
response.OkWithMessage("更新成功", c)
}
}
// FindUserInfo 用id查询UserInfo
// @Tags UserInfo
// @Summary 用id查询UserInfo
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query autocode.UserInfo true "用id查询UserInfo"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /userInfo/findUserInfo [get]
func (userInfoApi *UserInfoApi) FindUserInfo(c *gin.Context) {
var userInfo autocodeReq.OpenIdCodeUser
userInfo.Code = c.Query("code")
userInfo.WechatId = c.Query("wechat_id")
if err, reuserInfo := userInfoService.GetUserInfo(userInfo); err != nil {
global.GVA_LOG.Error("查询失败!", zap.Error(err))
response.FailWithMessage("查询失败", c)
} else {
response.OkWithData(gin.H{"reuserInfo": reuserInfo}, c)
}
}
// GetUserInfoList 分页获取UserInfo列表
// @Tags UserInfo
// @Summary 分页获取UserInfo列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query autocodeReq.UserInfoSearch true "分页获取UserInfo列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /userInfo/getUserInfoList [get]
func (userInfoApi *UserInfoApi) GetUserInfoList(c *gin.Context) {
var pageInfo autocodeReq.UserInfoSearch
_ = c.ShouldBindQuery(&pageInfo)
if err, list, total := userInfoService.GetUserInfoInfoList(pageInfo); err != nil {
global.GVA_LOG.Error("获取失败!", zap.Error(err))
response.FailWithMessage("获取失败", c)
} else {
response.OkWithDetailed(response.PageResult{
List: list,
Total: total,
Page: pageInfo.Page,
PageSize: pageInfo.PageSize,
}, "获取成功", c)
}
}

47
api/v1/enter.go

@ -2,15 +2,58 @@ package v1
import ( import (
"autocode/api/v1/autocode" "autocode/api/v1/autocode"
"autocode/global"
"autocode/model/common/response"
"autocode/utils"
"encoding/base64"
"fmt"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/xlstudio/wxbizdatacrypt"
"go.uber.org/zap"
"net/http"
) )
type ApiGroup struct { type ApiGroup struct {
AutoCodeApiGroup autocode.ApiGroup AutoCodeApiGroup autocode.ApiGroup
} }
func (g ApiGroup) CreateAutoCodeExample(context *gin.Context) {
context.String(200, "creat")
func (g ApiGroup) CreateAutoCodeExample(c *gin.Context) {
//access_token,err:=GetAccessToken()
var req struct {
EncryptedData string `json:"e"`
Iv string `json:"i"`
Code string `json:"c"`
}
err := c.Bind(&req)
if err != nil {
global.GVA_LOG.Error("获取失败!", zap.Error(err))
response.FailWithMessage("获取失败", c)
}
session_key, _, err := utils.GetKenAndOpenid(req.Code)
if err != nil {
global.GVA_LOG.Error("获取失败!", zap.Error(err))
response.FailWithMessage("获取失败", c)
}
fmt.Println("session_key:", session_key)
ggkey, err := base64.StdEncoding.DecodeString(session_key)
fmt.Println(ggkey, string(ggkey), err)
pc := wxbizdatacrypt.WxBizDataCrypt{utils.AppID, session_key}
result, err := pc.Decrypt(req.EncryptedData, req.Iv, true) //第三个参数解释: 需要返回 JSON 数据类型时 使用 true, 需要返回 map 数据类型时 使用 false
if err != nil {
global.GVA_LOG.Error("获取失败!", zap.Error(err))
response.FailWithMessage("获取失败", c)
} else {
fmt.Println(result)
}
c.JSON(http.StatusOK, result)
} }
func (g ApiGroup) FindAutoCodeExample(context *gin.Context) { func (g ApiGroup) FindAutoCodeExample(context *gin.Context) {

20
config.yaml

@ -56,7 +56,7 @@ captcha:
img-height: 80 img-height: 80
# mysql connect configuration # mysql connect configuration
# 未初始化之前请勿手动修改数据库信息!!!如果一定要手动初始化请看(https://www.github.com/flipped-aurora/gin-vue-admin/server.com/docs/first)
# 未初始化之前请勿手动修改数据库信息!!!如果一定要手动初始化请看(https://www.autocode.com/docs/first)
mysql: mysql:
path: '' path: ''
port: '' port: ''
@ -70,16 +70,16 @@ mysql:
log-zap: false log-zap: false
# pgsql connect configuration # pgsql connect configuration
# 未初始化之前请勿手动修改数据库信息!!!如果一定要手动初始化请看(https://www.github.com/flipped-aurora/gin-vue-admin/server.com/docs/first)
# 未初始化之前请勿手动修改数据库信息!!!如果一定要手动初始化请看(https://www.autocode.com/docs/first)
pgsql: pgsql:
path: ''
port: ''
config: ''
db-name: ''
username: ''
password: ''
max-idle-conns: 10
max-open-conns: 100
path: 121.40.194.123
port: "5432"
config: sslmode=disable TimeZone=Asia/Shanghai
db-name: gvapg
username: postgres
password: tjqm4912.pg
max-idle-conns: 0
max-open-conns: 0
log-mode: "" log-mode: ""
log-zap: false log-zap: false

484
go.sum

@ -0,0 +1,484 @@
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/KyleBanks/depth v1.2.1 h1:5h8fQADFrWtarTdtDudMmGsC7GPbOAu6RVB3ffsVFHc=
github.com/KyleBanks/depth v1.2.1/go.mod h1:jzSb9d0L43HxTQfT+oSA1EEp2q+ne2uh6XgeJcm8brE=
github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
github.com/PuerkitoBio/purell v1.1.1 h1:WEQqlqaGbrPkxLJWfBwQmfEAE1Z7ONdDLqrN38tNFfI=
github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M=
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
github.com/QcloudApi/qcloud_sign_golang v0.0.0-20141224014652-e4130a326409/go.mod h1:1pk82RBxDY/JZnPQrtqHlUFfCctgdorsd9M06fMynOM=
github.com/aliyun/aliyun-oss-go-sdk v2.2.0+incompatible h1:ht2+VfbXtNLGhCsnTMc6/N26nSTBK6qdhktjYyjJQkk=
github.com/aliyun/aliyun-oss-go-sdk v2.2.0+incompatible/go.mod h1:T/Aws4fEfogEE9v+HPhhw+CntffsBHJ8nXQCwKr0/g8=
github.com/andybalholm/brotli v1.0.2 h1:JKnhI/XQ75uFBTiuzXpzFrUriDPiZjlOSzh6wXogP0E=
github.com/andybalholm/brotli v1.0.2/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y=
github.com/aws/aws-sdk-go v1.42.35 h1:N4N9buNs4YlosI9N0+WYrq8cIZwdgv34yRbxzZlTvFs=
github.com/aws/aws-sdk-go v1.42.35/go.mod h1:OGr6lGMAKGlG9CVrYnWYDKIyb829c6EVBRjxqjmPepc=
github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f h1:ZNv7On9kyUzm7fvRZumSyy/IUiSC7AzL0I1jKKtwooA=
github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f/go.mod h1:AuiFmCCPBSrqvVMvuqFuk0qogytodnVFVSN5CeJB8Gc=
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I=
github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ=
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=
github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI=
github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU=
github.com/fvbock/endless v0.0.0-20170109170031-447134032cb6 h1:6VSn3hB5U5GeA6kQw4TwWIWbOhtvR2hmbBJnTOtqTWc=
github.com/fvbock/endless v0.0.0-20170109170031-447134032cb6/go.mod h1:YxOVT5+yHzKvwhsiSIWmbAYM3Dr9AEEbER2dVayfBkg=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/gin-contrib/gzip v0.0.3 h1:etUaeesHhEORpZMp18zoOhepboiWnFtXrBZxszWUn4k=
github.com/gin-contrib/gzip v0.0.3/go.mod h1:YxxswVZIqOvcHEQpsSn+QF5guQtO1dCfy0shBPy4jFc=
github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=
github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M=
github.com/gin-gonic/gin v1.7.4/go.mod h1:jD2toBW3GZUr5UMcdrwQA10I7RuaFOl/SGeDjXkfUtY=
github.com/gin-gonic/gin v1.7.7 h1:3DoBmSbJbZAWqXJC3SLjAPfutPJJRN1U5pALB7EeTTs=
github.com/gin-gonic/gin v1.7.7/go.mod h1:axIBovoeJpVj8S3BwE0uPMTeReE4+AfFtqpqaZ1qq1U=
github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY=
github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A=
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg=
github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY=
github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg=
github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg=
github.com/go-openapi/jsonreference v0.19.6 h1:UBIxjkht+AWIgYzCDSv2GN+E/togfwXUJFRTWhl2Jjs=
github.com/go-openapi/jsonreference v0.19.6/go.mod h1:diGHMEHg2IqXZGKxqyvWdfWU/aim5Dprw5bqpKkTvns=
github.com/go-openapi/spec v0.20.3 h1:uH9RQ6vdyPSs2pSy9fL8QPspDF2AMIMPtmK5coSSjtQ=
github.com/go-openapi/spec v0.20.3/go.mod h1:gG4F8wdEDN+YPBMVnzE85Rbhf+Th2DTvA9nFPQ5AYEg=
github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk=
github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ=
github.com/go-openapi/swag v0.19.15 h1:D2NRCBzS9/pEY3gP9Nl8aDqGUcPFrwG2p+CNFrLyrCM=
github.com/go-openapi/swag v0.19.15/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ=
github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBYNjji3q3A=
github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8=
github.com/go-playground/locales v0.14.0 h1:u50s323jtVGugKlcYeyzC0etD1HifMjqmJqb8WugfUU=
github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs=
github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA=
github.com/go-playground/universal-translator v0.18.0 h1:82dyy6p4OuJq4/CByFNOn/jYrnRPArHwAcmLoJZxyho=
github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA=
github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI=
github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4=
github.com/go-playground/validator/v10 v10.9.0 h1:NgTtmN58D0m8+UuxtYmGztBJB7VnPgjj221I1QHci2A=
github.com/go-playground/validator/v10 v10.9.0/go.mod h1:74x4gJWsvQexRdW8Pn3dXSGrTK4nAUsbPlLADvpJkos=
github.com/go-redis/redis v6.15.9+incompatible h1:K0pv1D7EQUjfyoMql+r/jZqCLizCGKFlFgcHWWmHQjg=
github.com/go-redis/redis v6.15.9+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA=
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE=
github.com/gofrs/uuid v4.0.0+incompatible h1:1SD/1F5pU8p29ybwgQSwpQk+mwdRrXCYuPhW6m+TnJw=
github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gookit/color v1.3.6 h1:Rgbazd4JO5AgSTVGS3o0nvaSdwdrS8bzvIXwtK6OiMk=
github.com/gookit/color v1.3.6/go.mod h1:R3ogXq2B9rTbXoSHJ1HyUVAZ3poOJHpd9nQmyGZsfvQ=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
github.com/huaweicloud/huaweicloud-sdk-go-obs v3.21.12+incompatible h1:tANYIteuFrosKbRYUk1Yo/OGJjbt4x3OVg211Qc60M0=
github.com/huaweicloud/huaweicloud-sdk-go-obs v3.21.12+incompatible/go.mod h1:l7VUhRbTKCzdOacdT4oWCwATKyvZqUOlOqr0Ous3k4s=
github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo=
github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk=
github.com/jackc/chunkreader/v2 v2.0.1 h1:i+RDz65UE+mmpjTfyz0MoVTnzeYxroil2G82ki7MGG8=
github.com/jackc/chunkreader/v2 v2.0.1/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk=
github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3/go.mod h1:jkELnwuX+w9qN5YIfX0fl88Ehu4XC3keFuOJJk9pcnA=
github.com/jackc/pgconn v0.0.0-20190824142844-760dd75542eb/go.mod h1:lLjNuW/+OfW9/pnVKPazfWOgNfH2aPem8YQ7ilXGvJE=
github.com/jackc/pgconn v0.0.0-20190831204454-2fabfa3c18b7/go.mod h1:ZJKsE/KZfsUgOEh9hBm+xYTstcNHg7UPMVJqRfQxq4s=
github.com/jackc/pgconn v1.8.0/go.mod h1:1C2Pb36bGIP9QHGBYCjnyhqu7Rv3sGshaQUvmfGIB/o=
github.com/jackc/pgconn v1.9.0/go.mod h1:YctiPyvzfU11JFxoXokUOOKQXQmDMoJL9vJzHH8/2JY=
github.com/jackc/pgconn v1.9.1-0.20210724152538-d89c8390a530/go.mod h1:4z2w8XhRbP1hYxkpTuBjTS3ne3J48K83+u0zoyvg2pI=
github.com/jackc/pgconn v1.10.1 h1:DzdIHIjG1AxGwoEEqS+mGsURyjt4enSmqzACXvVzOT8=
github.com/jackc/pgconn v1.10.1/go.mod h1:4z2w8XhRbP1hYxkpTuBjTS3ne3J48K83+u0zoyvg2pI=
github.com/jackc/pgio v1.0.0 h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE=
github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8=
github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE=
github.com/jackc/pgmock v0.0.0-20201204152224-4fe30f7445fd/go.mod h1:hrBW0Enj2AZTNpt/7Y5rr2xe/9Mn757Wtb2xeBzPv2c=
github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65 h1:DadwsjnMwFjfWc9y5Wi/+Zz7xoE5ALHsRQlOctkOiHc=
github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65/go.mod h1:5R2h2EEX+qri8jOWMbJCtaPWkrrNc7OHwsp2TCqp7ak=
github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM=
github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg=
github.com/jackc/pgproto3 v1.1.0/go.mod h1:eR5FA3leWg7p9aeAqi37XOTgTIbkABlvcPB3E5rlc78=
github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190420180111-c116219b62db/go.mod h1:bhq50y+xrl9n5mRYyCBFKkpRVTLYJVWeCc+mEAI3yXA=
github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190609003834-432c2951c711/go.mod h1:uH0AWtUmuShn0bcesswc4aBTWGvw0cAxIJp+6OB//Wg=
github.com/jackc/pgproto3/v2 v2.0.0-rc3/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM=
github.com/jackc/pgproto3/v2 v2.0.0-rc3.0.20190831210041-4c03ce451f29/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM=
github.com/jackc/pgproto3/v2 v2.0.6/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA=
github.com/jackc/pgproto3/v2 v2.1.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA=
github.com/jackc/pgproto3/v2 v2.2.0 h1:r7JypeP2D3onoQTCxWdTpCtJ4D+qpKr0TxvoyMhZ5ns=
github.com/jackc/pgproto3/v2 v2.2.0/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA=
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b h1:C8S2+VttkHFdOOCXJe+YGfa4vHYwlt4Zx+IVXQ97jYg=
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E=
github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg=
github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc=
github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw=
github.com/jackc/pgtype v1.8.1-0.20210724151600-32e20a603178/go.mod h1:C516IlIV9NKqfsMCXTdChteoXmwgUceqaLfjg2e3NlM=
github.com/jackc/pgtype v1.9.0 h1:/SH1RxEtltvJgsDqp3TbiTFApD3mey3iygpuEGeuBXk=
github.com/jackc/pgtype v1.9.0/go.mod h1:LUMuVrfsFfdKGLw+AFFVv6KtHOFMwRgDDzBt76IqCA4=
github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y=
github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM=
github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc=
github.com/jackc/pgx/v4 v4.12.1-0.20210724153913-640aa07df17c/go.mod h1:1QD0+tgSXP7iUjYm9C1NxKhny7lq6ee99u/z+IHFcgs=
github.com/jackc/pgx/v4 v4.14.0 h1:TgdrmgnM7VY72EuSQzBbBd4JA1RLqJolrw9nQVZABVc=
github.com/jackc/pgx/v4 v4.14.0/go.mod h1:jT3ibf/A0ZVCp89rtCIN0zCJxcE74ypROmHEZYsG/j8=
github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jackc/puddle v1.2.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E=
github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc=
github.com/jinzhu/now v1.1.2/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8=
github.com/jinzhu/now v1.1.4 h1:tHnRBy1i5F2Dh8BAFxqFzxKqqvezXrL2OW1TnX+Mlas=
github.com/jinzhu/now v1.1.4/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8=
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8=
github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U=
github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/klauspost/compress v1.13.4 h1:0zhec2I8zGnjWcKyLl6i3gPqKANCCn5e9xmviEEeX6s=
github.com/klauspost/compress v1.13.4/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII=
github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w=
github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY=
github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/lib/pq v1.10.2 h1:AqzbZs4ZoCBp+GtejcpCpcxM3zlSMx29dXbUSeVtJb8=
github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/magiconair/properties v1.8.5 h1:b6kJs+EmPFMYGkow9GiUyCyOvIwYetYJ3fSaWak/Gls=
github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60=
github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ=
github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y=
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
github.com/mitchellh/mapstructure v1.4.3 h1:OVowDSCllw/YjdLkam3/sm7wEtOy59d8ndGgCcyj8cs=
github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/mozillazg/go-httpheader v0.2.1 h1:geV7TrjbL8KXSyvghnFm+NyTux/hxwueTSrwhe88TQQ=
github.com/mozillazg/go-httpheader v0.2.1/go.mod h1:jJ8xECTlalr6ValeXYdOF8fFUISeBAdw6E61aqQma60=
github.com/natefinch/lumberjack v2.0.0+incompatible h1:4QJd3OLAMgj7ph+yZTuX13Ld4UpgHp07nNdFX7mqFfM=
github.com/natefinch/lumberjack v2.0.0+incompatible/go.mod h1:Wi9p2TTF5DG5oU+6YfsmYQpsTIOm0B1VNzQg9Mw6nPk=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A=
github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE=
github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU=
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk=
github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0=
github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE=
github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU=
github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY=
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
github.com/onsi/gomega v1.17.0 h1:9Luw4uT5HTjHTN8+aNcSThgH1vdXnmdJ8xIfZ4wyTRE=
github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY=
github.com/pelletier/go-toml v1.9.4 h1:tjENF6MfZAg8e4ZmZTeWaWiT2vXtsoO6+iuOjFhECwM=
github.com/pelletier/go-toml v1.9.4/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/qiniu/api.v7/v7 v7.8.2 h1:f08kI0MmsJNzK4sUS8bG3HDH67ktwd/ji23Gkiy2ra4=
github.com/qiniu/api.v7/v7 v7.8.2/go.mod h1:FPsIqxh1Ym3X01sANE5ZwXfLZSWoCUp5+jNI8cLo3l0=
github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs=
github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
github.com/rogpeppe/go-internal v1.8.0 h1:FCbCCtXNOY3UtUuHUYaghJg4y7Fd14rXifAYUAtL9R8=
github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE=
github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU=
github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww=
github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
github.com/shirou/gopsutil v3.21.11+incompatible h1:+1+c1VGhc88SSonWP6foOcLhvnKlUeu/erjjvaPEYiI=
github.com/shirou/gopsutil v3.21.11+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA=
github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4=
github.com/shopspring/decimal v1.2.0 h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ=
github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o=
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
github.com/songzhibin97/gkit v1.1.4 h1:o4P8gOHqgYeuOE+LVWzXtvx6BlqHNg6kP48wVrOMzc0=
github.com/songzhibin97/gkit v1.1.4/go.mod h1:4Izqoe3ySD4/E46pwa6cYatoZdj5eMcsIx22b6PzNYY=
github.com/spf13/afero v1.6.0 h1:xoax2sJ2DT8S8xA2paPFjDCScCNeWsg75VG0DLRreiY=
github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I=
github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA=
github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/viper v1.10.1 h1:nuJZuYpG7gTj/XqiUwg8bA0cp1+M2mC3J4g5luUYBKk=
github.com/spf13/viper v1.10.1/go.mod h1:IGlFPqhNAPKRxohIzWpI5QEy4kuI7tcl5WvR+8qy1rU=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
github.com/swaggo/files v0.0.0-20190704085106-630677cd5c14/go.mod h1:gxQT6pBGRuIGunNf/+tSOB5OHvguWi8Tbt82WOkf35E=
github.com/swaggo/gin-swagger v1.3.3 h1:XHyYmeNVFG5PbyWHG4jXtxOm2P4kiZapDCWsyDDiQ/I=
github.com/swaggo/gin-swagger v1.3.3/go.mod h1:ymsZuGpbbu+S7ZoQ49QPpZoDBj6uqhb8WizgQPVgWl0=
github.com/swaggo/swag v1.7.4 h1:up+ixy8yOqJKiFcuhMgkuYuF4xnevuhnFAXXF8OSfNg=
github.com/swaggo/swag v1.7.4/go.mod h1:zD8h6h4SPv7t3l+4BKdRquqW1ASWjKZgT6Qv9z3kNqI=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.194/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms v1.0.194/go.mod h1:yrBKWhChnDqNz1xuXdSbWXG56XawEq0G5j1lg4VwBD4=
github.com/tencentyun/cos-go-sdk-v5 v0.7.33 h1:5jmJU7U/1nf/7ZPDkrUL8KlF1oDUzTHsdtLNY6x0hq4=
github.com/tencentyun/cos-go-sdk-v5 v0.7.33/go.mod h1:4E4+bQ2gBVJcgEC9Cufwylio4mXOct2iu05WjgEBx1o=
github.com/tklauser/go-sysconf v0.3.9 h1:JeUVdAOWhhxVcU6Eqr/ATFHgXk/mmiItdKeJPev3vTo=
github.com/tklauser/go-sysconf v0.3.9/go.mod h1:11DU/5sG7UexIrp/O6g35hrWzu0JxlwQ3LSFUzyeuhs=
github.com/tklauser/numcpus v0.3.0 h1:ILuRUQBtssgnxw0XXIjKUC56fgnOrFoQQ/4+DeU2biQ=
github.com/tklauser/numcpus v0.3.0/go.mod h1:yFGUr7TUHQRAhyqBcEg0Ge34zDBAsIvJJcyE6boqnA8=
github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw=
github.com/ugorji/go v1.2.6/go.mod h1:anCg0y61KIhDlPZmnH+so+RQbysYVyDko0IMgJv0Nn0=
github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY=
github.com/ugorji/go/codec v1.2.6 h1:7kbGefxLoDBuYXOms4yD7223OpNMMPNPZxXk5TvFcyQ=
github.com/ugorji/go/codec v1.2.6/go.mod h1:V6TCNZ4PHqoHGFZuSG1W8nrCzzdgA2DozYxWFFpvxTw=
github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI=
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
github.com/valyala/fasthttp v1.32.0 h1:keswgWzyKyNIIjz2a7JmCYHOOIkRp6HMx9oTV6QrZWY=
github.com/valyala/fasthttp v1.32.0/go.mod h1:2rsYD01CKFrjjsvFxx75KlEUNpWNBY9JWD3K/7o2Cus=
github.com/valyala/tcplisten v1.0.0/go.mod h1:T0xQ8SeCZGxckz9qRXTfG43PvQ/mcWh7FwZEA7Ioqkc=
github.com/xlstudio/wxbizdatacrypt v1.0.2 h1:EEh38tPrntWhd8bArCqQWEMiysuPhssPTO1vqEosY78=
github.com/xlstudio/wxbizdatacrypt v1.0.2/go.mod h1:5P4Yi0JRnlrs3CSmMZXzctar3VsxedGfZrf8fZbVPe8=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
github.com/yusufpapurcu/wmi v1.2.2 h1:KBNDSne4vP5mbSWnJbO+51IMOXJB67QiYCSBrubbPRg=
github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q=
go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI=
go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4=
go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU=
go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4=
go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA=
go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM=
go.uber.org/zap v1.20.0 h1:N4oPlghZwYG55MlU6LXk/Zp00FVNE9X9wrYO8CEs4lc=
go.uber.org/zap v1.20.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE=
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I=
golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8=
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo=
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
golang.org/x/net v0.0.0-20210421230115-4e50805a0758/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM=
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk=
golang.org/x/net v0.0.0-20210510120150-4163338589ed/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f h1:hEYJvxw1lSnWIl8X9ofsYMklzaDs90JI2az5YMd4fPM=
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210420072515-93ed5bcd2bfe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210816074244-15123e1e1f71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211210111614-af8b64212486 h1:5hpz5aRr+W1erYCL5JRhSUBJRph7l9XkNveoExlrKYk=
golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 h1:Hir2P/De0WpUhtrKGGjvSb2YxUgyZ7EFOSLIcSSpiwE=
golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20190425163242-31fd60d6bfdc/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
golang.org/x/tools v0.0.0-20190823170909-c4a336ef6a2f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
golang.org/x/tools v0.1.5 h1:ouewzE6p+/VEB31YYnTbEJdi8pFqKp4P4n85vwo3DHA=
golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ=
google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s=
gopkg.in/ini.v1 v1.66.2 h1:XfR1dOYubytKy4Shzc2LHrrGhU0lDCfDGG1yLPmpgsI=
gopkg.in/ini.v1 v1.66.2/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/natefinch/lumberjack.v2 v2.0.0 h1:1Lc07Kr7qY4U2YPouBjpCLxpiyxIVoxqXgkXLknAOE8=
gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k=
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gorm.io/driver/postgres v1.2.3 h1:f4t0TmNMy9gh3TU2PX+EppoA6YsgFnyq8Ojtddb42To=
gorm.io/driver/postgres v1.2.3/go.mod h1:pJV6RgYQPG47aM1f0QeOzFH9HxQc8JcmAgjRCgS0wjs=
gorm.io/gorm v1.22.3/go.mod h1:F+OptMscr0P2F2qU97WT1WimdH9GaQPoDW7AYd5i2Y0=
gorm.io/gorm v1.22.5 h1:lYREBgc02Be/5lSCTuysZZDb6ffL2qrat6fg9CFbvXU=
gorm.io/gorm v1.22.5/go.mod h1:l2lP/RyAtc1ynaTjFksBde/O8v9oOGIApu2/xRitmZk=
honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=

2
initialize/db_list.go

@ -14,8 +14,6 @@ func DBList() {
continue continue
} }
switch info.Type { switch info.Type {
case "mysql":
dbMap[info.Dbname] = GormMysqlByConfig(info)
case "pgsql": case "pgsql":
dbMap[info.Dbname] = GormPgSqlByConfig(info) dbMap[info.Dbname] = GormPgSqlByConfig(info)
default: default:

34
initialize/gorm_pgsql.go

@ -4,30 +4,38 @@ import (
"autocode/config" "autocode/config"
"autocode/global" "autocode/global"
"autocode/initialize/internal" "autocode/initialize/internal"
"fmt"
"gorm.io/driver/postgres" "gorm.io/driver/postgres"
"gorm.io/gorm" "gorm.io/gorm"
"log"
) )
// GormPgSql 初始化 Postgresql 数据库
// Author [piexlmax](https://github.com/piexlmax)
// Author [SliverHorn](https://github.com/SliverHorn)
func GormPgSql() *gorm.DB {
func GormInit() *gorm.DB {
p := global.GVA_CONFIG.Pgsql p := global.GVA_CONFIG.Pgsql
if p.Dbname == "" { if p.Dbname == "" {
return nil return nil
} }
pgsqlConfig := postgres.Config{
DSN: p.Dsn(), // DSN data source name
PreferSimpleProtocol: false,
}
if db, err := gorm.Open(postgres.New(pgsqlConfig), internal.Gorm.Config()); err != nil {
return nil
dataSourceName := fmt.Sprintf(
"host=%v port=%v user=%v dbname=%v password=%v sslmode=disable",
p.Path,
p.Port,
p.Username,
p.Dbname,
p.Password,
)
db, err := gorm.Open(postgres.Open(dataSourceName), &gorm.Config{})
if err != nil {
log.Fatal("failed to connect database: ", err)
} else { } else {
sqlDB, _ := db.DB() sqlDB, _ := db.DB()
sqlDB.SetMaxIdleConns(p.MaxIdleConns)
sqlDB.SetMaxOpenConns(p.MaxOpenConns)
return db
sqlDB.SetMaxOpenConns(50)
sqlDB.SetMaxIdleConns(20)
fmt.Sprintf("connection to postgres database: %s", dataSourceName)
} }
return db
} }
// GormPgSqlByConfig 初始化 Postgresql 数据库 通过参数 // GormPgSqlByConfig 初始化 Postgresql 数据库 通过参数

1
initialize/router.go

@ -52,6 +52,7 @@ func Routers() *gin.Engine {
// Code generated by github.com/flipped-aurora/yibu/server Begin; DO NOT EDIT. // Code generated by github.com/flipped-aurora/yibu/server Begin; DO NOT EDIT.
autocodeRouter.InitSysAutoCodeExampleRouter(PrivateGroup) autocodeRouter.InitSysAutoCodeExampleRouter(PrivateGroup)
autocodeRouter.InitUserInfoRouter(PublicGroup)
// Code generated by github.com/flipped-aurora/yibu/server End; DO NOT EDIT. // Code generated by github.com/flipped-aurora/yibu/server End; DO NOT EDIT.
} }

28
log/server_error.log

@ -1,3 +1,31 @@
[github.com/flipped-aurora/yibu/server]2022/01/15 - 20:31:51.422 error C:/Users/Administrator/go/src/autocode/core/server.go:44 listen tcp :8888: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted. [github.com/flipped-aurora/yibu/server]2022/01/15 - 20:31:51.422 error C:/Users/Administrator/go/src/autocode/core/server.go:44 listen tcp :8888: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
[github.com/flipped-aurora/yibu/server]2022/01/15 - 21:12:24.656 error C:/Users/Administrator/go/src/mygencode/autocode/core/server.go:33 listen tcp :8888: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted. [github.com/flipped-aurora/yibu/server]2022/01/15 - 21:12:24.656 error C:/Users/Administrator/go/src/mygencode/autocode/core/server.go:33 listen tcp :8888: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
[github.com/flipped-aurora/yibu/server]2022/01/15 - 21:16:58.013 error C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:33 listen tcp :8888: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted. [github.com/flipped-aurora/yibu/server]2022/01/15 - 21:16:58.013 error C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:33 listen tcp :8888: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:42:03.473 error C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:33 listen tcp :8888: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:42:40.440 error C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:33 listen tcp :8888: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:43:22.646 error C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:33 listen tcp :8888: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:48:44.234 error C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:33 listen tcp :8888: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:24:21.816 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:113 查询失败! {"error": "record not found"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:32:15.946 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:113 查询失败! {"error": "record not found"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:36:30.523 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:113 查询失败! {"error": "record not found"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:09:55.901 error C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:30 register table failed {"error": "unsupported data type: &[]"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:21:33.722 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:133 获取失败! {"error": "sql: Scan error on column index 8, name \"qrcode_id\": pq: unable to parse array; expected '{' at offset 0"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:22:17.438 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:133 获取失败! {"error": "sql: Scan error on column index 8, name \"qrcode_id\": pq: unable to parse array; expected '{' at offset 0"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:44:36.610 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:113 查询失败! {"error": "record not found"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:47:17.829 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:93 更新失败! {"error": "cannot convert false to Int8"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:48:15.782 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:93 更新失败! {"error": "cannot convert false to Int8"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:48:26.057 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:93 更新失败! {"error": "cannot convert false to Int8"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:12:28.308 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:93 更新失败! {"error": "cannot convert false to Int8"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:14:09.488 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:93 更新失败! {"error": "cannot convert false to Int8"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:14:30.415 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:93 更新失败! {"error": "unsupported data type: map[is_phone_encr:true]: Table not set, please set it like: db.Model(&user) or db.Table(\"users\")"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:16:28.587 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:93 更新失败! {"error": "WHERE conditions required"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:21:23.052 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:93 更新失败! {"error": "cannot convert true to Int8"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:40:47.012 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:113 查询失败! {"error": "record not found"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:40:51.682 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:113 查询失败! {"error": "record not found"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 02:44:20.368 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:93 更新失败! {"error": "ERROR: syntax error at or near \"updated_at\" (SQLSTATE 42601)"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 07:01:40.082 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:113 查询失败! {"error": "write failed: write tcp 192.168.31.214:11597->121.40.194.123:5432: wsasend: An existing connection was forcibly closed by the remote host."}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 12:54:28.902 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:113 查询失败! {"error": "write failed: write tcp 192.168.31.214:12275->121.40.194.123:5432: wsasend: An existing connection was forcibly closed by the remote host."}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:44:07.279 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:114 查询失败! {"error": "账号异常请稍后再试"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:56:38.729 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:93 更新失败! {"error": "openid参数错误"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:57:45.073 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:93 更新失败! {"error": "openid参数错误"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:58:13.043 error C:/Users/Administrator/go/src/awesomeProject5/autocode/api/v1/autocode/user_info.go:93 更新失败! {"error": "openid参数错误"}

458
log/server_info.log

@ -34,3 +34,461 @@
[github.com/flipped-aurora/yibu/server]2022/01/15 - 21:16:58.010 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler [github.com/flipped-aurora/yibu/server]2022/01/15 - 21:16:58.010 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 21:16:58.010 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:58 router register success [github.com/flipped-aurora/yibu/server]2022/01/15 - 21:16:58.010 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:58 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 21:16:58.012 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"} [github.com/flipped-aurora/yibu/server]2022/01/15 - 21:16:58.012 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 21:22:39.174 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 21:22:39.175 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 21:22:39.175 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 21:22:39.175 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:58 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 21:22:39.177 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:42:03.455 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:42:03.456 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:42:03.456 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:42:03.456 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:58 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:42:03.470 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:42:40.433 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:42:40.433 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:42:40.433 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:42:40.433 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:42:40.437 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:43:22.642 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:43:22.643 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:43:22.643 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:43:22.643 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:43:22.644 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:43:28.510 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:43:28.510 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:43:28.510 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:43:28.510 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:43:28.516 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:48:44.226 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:48:44.228 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:48:44.228 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:48:44.228 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:48:44.233 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:49:01.415 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:49:01.415 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:49:01.415 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:49:01.415 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:49:01.422 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:55:46.562 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:55:46.562 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:55:46.563 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:55:46.563 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:55:46.567 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:57:39.175 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:57:39.175 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:57:39.176 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:57:39.176 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:57:39.192 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:58:15.898 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:58:15.898 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:58:15.899 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:58:15.899 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:58:15.915 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:59:20.962 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:59:20.963 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:59:20.963 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:59:20.963 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:59:20.976 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:59:32.352 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:59:32.352 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:59:32.353 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:59:32.353 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 22:59:32.358 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:01:57.502 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:01:57.502 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:01:57.502 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:01:57.502 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:01:57.502 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:03:40.341 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:03:40.342 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:03:40.342 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:03:40.342 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:03:40.345 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:06:01.175 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:06:01.176 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:06:01.176 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:06:01.176 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:06:01.189 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:09:07.835 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:09:07.836 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:09:07.836 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:09:07.836 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:09:07.846 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:23:08.343 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:40 register table success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:23:08.345 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:23:08.345 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:23:08.345 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:23:08.345 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:23:08.357 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:30:01.325 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:33 register table success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:30:01.326 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:30:01.326 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:30:01.326 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:30:01.326 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:30:01.332 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:30:25.591 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:33 register table success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:30:25.593 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:30:25.593 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:30:25.594 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:30:25.594 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:30:25.594 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:31:16.032 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:33 register table success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:31:16.035 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:31:16.036 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:31:16.036 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:31:16.037 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/15 - 23:31:16.037 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:10:20.030 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:33 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:10:20.032 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:10:20.032 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:10:20.032 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:10:20.032 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:10:20.040 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:21:21.132 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:33 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:21:21.133 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:21:21.133 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:21:21.133 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:21:21.133 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:21:21.135 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:23:15.297 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:33 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:23:15.301 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:23:15.301 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:23:15.301 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:23:15.302 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:23:15.302 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:25:04.875 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:33 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:25:04.876 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:25:04.876 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:25:04.876 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:25:04.876 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:25:04.876 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:36:45.374 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:36:45.375 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:36:45.375 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:36:45.375 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:36:45.375 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:36:45.380 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:38:47.010 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:38:47.012 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:38:47.012 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:38:47.012 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:38:47.013 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:38:47.026 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:43:19.724 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:43:19.728 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:43:19.728 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:43:19.728 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:43:19.729 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 00:43:19.729 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:14:26.375 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:14:26.377 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:14:26.377 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:14:26.377 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:14:26.377 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:14:26.382 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:16:24.629 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:16:24.633 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:16:24.633 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:16:24.633 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:16:24.634 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:16:24.634 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:21:18.657 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:21:18.658 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:21:18.658 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:21:18.658 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:21:18.658 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:21:18.666 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:24:16.123 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:24:16.125 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:24:16.125 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:24:16.126 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:24:16.127 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:24:16.127 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:27:39.899 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:27:39.900 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:27:39.900 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:27:39.900 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:27:39.900 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:27:39.908 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:28:57.034 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:28:57.037 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:28:57.037 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:28:57.037 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:28:57.038 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:28:57.039 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:29:18.051 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:29:18.052 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:29:18.052 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:29:18.052 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:29:18.052 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:29:18.056 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:31:03.825 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:31:03.827 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:31:03.827 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:31:03.827 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:31:03.827 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 01:31:03.843 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:04:19.113 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:04:19.114 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:04:19.114 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:04:19.114 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:04:19.114 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:04:19.116 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:07:19.486 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:07:19.489 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:07:19.489 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:07:19.490 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:07:19.490 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:07:19.502 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:45:03.683 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:45:03.685 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:45:03.685 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:45:03.685 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:45:03.685 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:45:03.689 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:58:33.350 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:58:33.351 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:58:33.351 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:58:33.351 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:58:33.351 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 03:58:33.352 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:44:18.311 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:44:18.315 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:44:18.315 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:44:18.316 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:44:18.316 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:44:18.316 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:48:55.825 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:48:55.826 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:48:55.826 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:48:55.827 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:48:55.827 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:48:55.839 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:58:30.421 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:58:30.423 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:58:30.423 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:58:30.423 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:58:30.423 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 04:58:30.424 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:01:06.751 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:01:06.753 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:01:06.753 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:01:06.753 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:01:06.753 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:01:06.762 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:05:13.532 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:05:13.534 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:05:13.534 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:05:13.534 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:05:13.534 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:05:13.540 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:06:01.201 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:06:01.202 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:06:01.202 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:06:01.203 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:06:01.203 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:06:01.205 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:07:08.056 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:07:08.057 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:07:08.057 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:07:08.058 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:07:08.058 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:07:08.072 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:13:01.352 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:13:01.358 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:13:01.358 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:13:01.359 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:13:01.359 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:13:01.363 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:16:15.424 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:16:15.427 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:16:15.427 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:16:15.428 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:16:15.428 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:16:15.432 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:18:03.037 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:18:03.039 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:18:03.039 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:18:03.039 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:18:03.039 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:18:03.039 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:29:30.261 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:29:30.281 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:29:30.281 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:29:30.282 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:29:30.282 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:29:30.288 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:29:58.043 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:29:58.062 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:29:58.062 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:29:58.062 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:29:58.062 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:29:58.076 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:34:59.824 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:34:59.825 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:34:59.825 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:34:59.825 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:34:59.825 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:34:59.831 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:39:29.078 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:39:29.080 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:39:29.080 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:39:29.080 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:39:29.080 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:39:29.092 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:40:15.206 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:40:15.207 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:40:15.207 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:40:15.207 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:40:15.207 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:40:15.214 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:43:24.197 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:43:24.201 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:43:24.201 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:43:24.201 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:43:24.202 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:43:24.212 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:53:05.844 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:53:05.869 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:53:05.869 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:53:05.870 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:53:05.870 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:53:05.875 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:54:04.774 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:54:04.776 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:54:04.776 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:54:04.776 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:54:04.776 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:54:04.790 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:55:23.939 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:55:23.940 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:55:23.940 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:55:23.940 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:55:23.940 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 05:55:23.946 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:06:10.361 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:06:10.363 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:06:10.363 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:06:10.364 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:06:10.364 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:06:10.366 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:07:20.142 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:07:20.143 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:07:20.144 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:07:20.144 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:07:20.144 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:07:20.150 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:08:37.820 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:08:37.821 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:08:37.821 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:08:37.821 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:08:37.821 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:08:37.822 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:09:44.088 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:09:44.092 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:09:44.092 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:09:44.092 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:09:44.092 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:09:44.093 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:10:51.603 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:10:51.606 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:10:51.607 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:10:51.607 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:10:51.607 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:10:51.617 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:24:03.582 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:24:03.583 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:24:03.583 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:24:03.583 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:24:03.584 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:24:03.595 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:25:58.567 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:25:58.569 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:25:58.569 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:25:58.569 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:25:58.569 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:25:58.571 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:36:03.944 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:36:03.946 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:36:03.946 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:36:03.946 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:36:03.946 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:36:03.953 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:37:33.946 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:37:33.950 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:37:33.950 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:37:33.951 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:37:33.951 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:37:33.964 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:49:24.781 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:49:24.785 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:49:24.785 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:49:24.786 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:49:24.786 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:49:24.799 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:53:37.955 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:53:37.956 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:53:37.956 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:53:37.957 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:53:37.957 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:53:37.970 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:54:26.913 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:54:26.915 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:54:26.915 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:54:26.915 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:54:26.915 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 06:54:26.924 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 13:11:45.169 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 13:11:45.173 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 13:11:45.173 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 13:11:45.173 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 13:11:45.173 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 13:11:45.185 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 13:19:43.944 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 13:19:43.952 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 13:19:43.952 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 13:19:43.953 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 13:19:43.959 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 13:19:43.973 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:26:40.606 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:26:40.607 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:26:40.607 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:26:40.607 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:26:40.607 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:26:40.619 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:35:12.995 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:35:12.998 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:35:12.998 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:35:12.998 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:35:12.999 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:35:12.999 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:38:41.297 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:38:41.301 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:38:41.301 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:38:41.301 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:38:41.302 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:38:41.309 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:41:42.782 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:41:42.786 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:41:42.787 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:41:42.788 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:41:42.788 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:41:42.793 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:44:03.482 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:44:03.483 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:44:03.483 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:44:03.484 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:44:03.484 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:44:03.488 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:50:08.330 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:50:08.355 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:50:08.355 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:50:08.355 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:50:08.355 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:50:08.369 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:56:34.356 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/gorm.go:34 register table success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:56:34.358 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:29 use middleware logger
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:56:34.358 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:33 use middleware cors
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:56:34.358 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:35 register swagger handler
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:56:34.359 info C:/Users/Administrator/go/src/awesomeProject5/autocode/initialize/router.go:59 router register success
[github.com/flipped-aurora/yibu/server]2022/01/16 - 14:56:34.365 info C:/Users/Administrator/go/src/awesomeProject5/autocode/core/server.go:31 server run success on {"address": ":8888"}

7
main.go

@ -7,14 +7,15 @@ import (
) )
func main() { func main() {
global.GVA_VP = core.Viper() // 初始化Viper
global.GVA_LOG = core.Zap() // 初始化zap日志库
global.GVA_DB = initialize.Gorm() // gorm连接数据库
global.GVA_VP = core.Viper() // 初始化Viper
global.GVA_LOG = core.Zap() // 初始化zap日志库
global.GVA_DB = initialize.GormInit() // gorm连接数据库
initialize.DBList() initialize.DBList()
if global.GVA_DB != nil { if global.GVA_DB != nil {
initialize.RegisterTables(global.GVA_DB) // 初始化表 initialize.RegisterTables(global.GVA_DB) // 初始化表
// 程序结束前关闭数据库链接 // 程序结束前关闭数据库链接
db, _ := global.GVA_DB.DB() db, _ := global.GVA_DB.DB()
defer db.Close() defer db.Close()
} }

21
model/autocode/request/user_info.go

@ -0,0 +1,21 @@
package request
import (
"autocode/model/autocode"
"autocode/model/common/request"
)
type UserInfoSearch struct {
autocode.UserInfo
request.PageInfo
}
type UserInfoConf struct {
WechatId string `json:"wechat_id"`
Key string `json:"key"`
Value interface{} `json:"value"`
}
type OpenIdCodeUser struct {
WechatId string `json:"wechat_id"`
Code string `json:"code"`
}

26
model/autocode/user_info.go

@ -0,0 +1,26 @@
// 自动生成模板UserInfo
package autocode
import (
"autocode/global"
)
// UserInfo 结构体
// 如果含有time.Time 请自行import time包
type UserInfo struct {
global.GVA_MODEL
IsPhoneEncr bool `json:"isPhoneEncr" form:"isPhoneEncr" gorm:"column:is_phone_encr;comment:;size:64;"`
IsSmsNotice bool `json:"isSmsNotice" form:"isSmsNotice" gorm:"column:is_sms_notice;comment:;size:64;"`
WechatId string `json:"wechatId" form:"wechatId" gorm:"column:wechat_id;comment:;size:46"`
IsDnd bool `json:"isDnd" form:"isDnd" gorm:"column:is_dnd;comment:;size:64;"`
LicensePlate string `json:"licensePlate" form:"licensePlate" gorm:"column:license_plate;comment:;size:40"`
DndDateStart bool `json:"dndDateStart" form:"dndDateStart" gorm:"column:dnd_date_start;comment:;size:64;"`
DndDateEnd bool `json:"dndDateEnd" form:"dndDateEnd" gorm:"column:dnd_date_end;comment:;size:64;"`
Phone string `json:"phone" form:"phone" gorm:"column:phone;comment:;size:24;"`
IsWechatNotice bool `json:"isWechatNotice" form:"isWechatNotice" gorm:"column:is_wechat_notice;comment:;size:64;"`
}
// TableName UserInfo 表名
func (UserInfo) TableName() string {
return "user_info"
}

6
router/autocode/auto_code_example.go

@ -8,11 +8,11 @@ import (
type AutoCodeExampleRouter struct{} type AutoCodeExampleRouter struct{}
func (s *AutoCodeExampleRouter) InitSysAutoCodeExampleRouter(Router *gin.RouterGroup) { func (s *AutoCodeExampleRouter) InitSysAutoCodeExampleRouter(Router *gin.RouterGroup) {
autoCodeExampleRouter := Router.Group("hi")
autoCodeExampleRouterWithoutRecord := Router.Group("hi")
autoCodeExampleRouter := Router.Group("decode")
autoCodeExampleRouterWithoutRecord := Router.Group("decode")
autoCodeExampleApi := v1.ApiGroupApp autoCodeExampleApi := v1.ApiGroupApp
{ {
autoCodeExampleRouter.POST("hi", autoCodeExampleApi.CreateAutoCodeExample) // 新建AutoCodeExample
autoCodeExampleRouter.POST("wechat", autoCodeExampleApi.CreateAutoCodeExample) // 新建AutoCodeExample
} }
{ {
autoCodeExampleRouterWithoutRecord.GET("hi", autoCodeExampleApi.FindAutoCodeExample) // 根据ID获取AutoCodeExample autoCodeExampleRouterWithoutRecord.GET("hi", autoCodeExampleApi.FindAutoCodeExample) // 根据ID获取AutoCodeExample

1
router/autocode/enter.go

@ -3,5 +3,6 @@ package autocode
type RouterGroup struct { type RouterGroup struct {
// Code generated by github.com/flipped-aurora/yibu/server Begin; DO NOT EDIT. // Code generated by github.com/flipped-aurora/yibu/server Begin; DO NOT EDIT.
AutoCodeExampleRouter AutoCodeExampleRouter
UserInfoRouter
// Code generated by github.com/flipped-aurora/yibu/server End; DO NOT EDIT. // Code generated by github.com/flipped-aurora/yibu/server End; DO NOT EDIT.
} }

28
router/autocode/user_info.go

@ -0,0 +1,28 @@
package autocode
import (
"autocode/api/v1"
//"autocode/middleware"
"github.com/gin-gonic/gin"
)
type UserInfoRouter struct {
}
// InitUserInfoRouter 初始化 UserInfo 路由信息
func (s *UserInfoRouter) InitUserInfoRouter(Router *gin.RouterGroup) {
userInfoRouter := Router.Group("userInfo")
//.Use(middleware.OperationRecord())
userInfoRouterWithoutRecord := Router.Group("userInfo")
var userInfoApi = v1.ApiGroupApp.AutoCodeApiGroup.UserInfoApi
{
userInfoRouter.POST("createUserInfo", userInfoApi.CreateUserInfo) // 新建UserInfo
userInfoRouter.DELETE("deleteUserInfo", userInfoApi.DeleteUserInfo) // 删除UserInfo
userInfoRouter.DELETE("deleteUserInfoByIds", userInfoApi.DeleteUserInfoByIds) // 批量删除UserInfo
userInfoRouter.PUT("updateUserInfo", userInfoApi.UpdateUserInfo) // 更新UserInfo
}
{
userInfoRouterWithoutRecord.GET("findUserInfo", userInfoApi.FindUserInfo) // 根据ID获取UserInfo
userInfoRouterWithoutRecord.GET("getUserInfoList", userInfoApi.GetUserInfoList) // 获取UserInfo列表
}
}

1
service/autocode/enter.go

@ -3,5 +3,6 @@ package autocode
type ServiceGroup struct { type ServiceGroup struct {
// Code generated by github.com/flipped-aurora/yibu/server Begin; DO NOT EDIT. // Code generated by github.com/flipped-aurora/yibu/server Begin; DO NOT EDIT.
AutoCodeExampleService AutoCodeExampleService
UserInfoService
// Code generated by github.com/flipped-aurora/yibu/server End; DO NOT EDIT. // Code generated by github.com/flipped-aurora/yibu/server End; DO NOT EDIT.
} }

125
service/autocode/user_info.go

@ -0,0 +1,125 @@
package autocode
import (
"autocode/global"
"autocode/model/autocode"
autoCodeReq "autocode/model/autocode/request"
"autocode/model/common/request"
"autocode/utils"
"errors"
"fmt"
"gorm.io/gorm"
)
type UserInfoService struct {
}
// CreateUserInfo 创建UserInfo记录
// Author [piexlmax](https://github.com/piexlmax)
func (userInfoService *UserInfoService) CreateUserInfo(userInfo autocode.UserInfo) (err error) {
err = global.GVA_DB.Create(&userInfo).Error
return err
}
// DeleteUserInfo 删除UserInfo记录
// Author [piexlmax](https://github.com/piexlmax)
func (userInfoService *UserInfoService) DeleteUserInfo(userInfo autocode.UserInfo) (err error) {
err = global.GVA_DB.Delete(&userInfo).Error
return err
}
// DeleteUserInfoByIds 批量删除UserInfo记录
// Author [piexlmax](https://github.com/piexlmax)
func (userInfoService *UserInfoService) DeleteUserInfoByIds(ids request.IdsReq) (err error) {
err = global.GVA_DB.Delete(&[]autocode.UserInfo{}, "id in ?", ids.Ids).Error
return err
}
// UpdateUserInfo 更新UserInfo记录
// Author [piexlmax](https://github.com/piexlmax)
func (userInfoService *UserInfoService) UpdateUserInfo(userConf autoCodeReq.UserInfoConf) (err error) {
if userConf.WechatId != "" {
err = global.GVA_DB.Model(&autocode.UserInfo{}).Where("wechat_id = ?", userConf.WechatId).Update(userConf.Key, userConf.Value).Error
} else {
err = errors.New("openid参数错误")
}
fmt.Println(userConf)
return err
}
// GetUserInfo 根据wechat_id获取UserInfo记录
// Author [piexlmax](https://github.com/piexlmax)
func (userInfoService *UserInfoService) GetUserInfo(user autoCodeReq.OpenIdCodeUser) (err error, userInfo autocode.UserInfo) {
var wechatId string
fmt.Println("user--------------:", user)
if user.Code != "" {
_, wechatId, err = utils.GetKenAndOpenid(user.Code)
fmt.Println(wechatId)
if err != nil {
return
}
if len(wechatId) < 5 {
err = errors.New("账号异常请稍后再试")
return
}
}
if user.WechatId != "" {
wechatId = user.WechatId
}
err = global.GVA_DB.Where("wechat_id = ?", wechatId).First(&userInfo).Error
if errors.Is(err, gorm.ErrRecordNotFound) {
fmt.Println("查询不到数据")
userInfo = autocode.UserInfo{
IsPhoneEncr: false,
IsSmsNotice: false,
WechatId: wechatId,
IsDnd: false,
LicensePlate: "",
DndDateStart: false,
DndDateEnd: false,
Phone: "",
IsWechatNotice: false,
}
err = userInfoService.CreateUserInfo(userInfo)
} else if err != nil {
//如果err不等于record not found错误,又不等于nil,那说明sql执行失败了。
fmt.Println("查询失败", err)
}
return
}
// GetUserInfoInfoList 分页获取UserInfo记录
// Author [piexlmax](https://github.com/piexlmax)
func (userInfoService *UserInfoService) GetUserInfoInfoList(info autoCodeReq.UserInfoSearch) (err error, list interface{}, total int64) {
limit := info.PageSize
offset := info.PageSize * (info.Page - 1)
// 创建db
db := global.GVA_DB.Model(&autocode.UserInfo{})
fmt.Println(db)
var userInfos []autocode.UserInfo
// 如果有条件搜索 下方会自动创建搜索语句
if info.WechatId != "" {
db = db.Where("wechat_id = ?", info.WechatId)
}
//if info.QrcodeId != "" {
// db = db.Where("qrcode_id = ?",info.QrcodeId)
//}
if info.Phone != "" {
db = db.Where("phone = ?", info.Phone)
}
err = db.Count(&total).Error
if err != nil {
return
}
err = db.Limit(limit).Offset(offset).Find(&userInfos).Error
return err, userInfos, total
}

57
utils/captcha/redis.go

@ -1,57 +0,0 @@
package captcha
import (
"context"
"time"
"autocode/global"
"github.com/mojocn/base64Captcha"
"go.uber.org/zap"
)
func NewDefaultRedisStore() *RedisStore {
return &RedisStore{
Expiration: time.Second * 180,
PreKey: "CAPTCHA_",
}
}
type RedisStore struct {
Expiration time.Duration
PreKey string
Context context.Context
}
func (rs *RedisStore) UseWithCtx(ctx context.Context) base64Captcha.Store {
rs.Context = ctx
return rs
}
func (rs *RedisStore) Set(id string, value string) {
err := global.GVA_REDIS.Set(rs.Context, rs.PreKey+id, value, rs.Expiration).Err()
if err != nil {
global.GVA_LOG.Error("RedisStoreSetError!", zap.Error(err))
}
}
func (rs *RedisStore) Get(key string, clear bool) string {
val, err := global.GVA_REDIS.Get(rs.Context, key).Result()
if err != nil {
global.GVA_LOG.Error("RedisStoreGetError!", zap.Error(err))
return ""
}
if clear {
err := global.GVA_REDIS.Del(rs.Context, key).Err()
if err != nil {
global.GVA_LOG.Error("RedisStoreClearError!", zap.Error(err))
return ""
}
}
return val
}
func (rs *RedisStore) Verify(id, answer string, clear bool) bool {
key := rs.PreKey + id
v := rs.Get(key, clear)
return v == answer
}

103
utils/wechat.go

@ -0,0 +1,103 @@
package utils
import (
"errors"
"fmt"
"github.com/gin-gonic/gin"
"github.com/songzhibin97/gkit/tools/gjson"
)
const ()
/*
发送微信消息结构体定义
*/
type Val struct {
Value interface{} `json:"value"`
}
type ValColor struct {
Value interface{} `json:"value"`
Color string `json:"color,omitempty"` //字体颜色
}
type TPL struct {
Touser string `json:"touser"` //微信用户ID
TemplateId string `json:"template_id"` //微信公众号模板消息ID
Url string `json:"url,omitempty"` //会从微信跳转到该URL页面
Data gin.H `json:"data"` //微信消息模板中参数内容
}
var (
/** 微信接口URL **/
//获取Access token
WechatAccessTokenUrl = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%v&secret=%v"
//发送模板消息
WechatTplSendUrl = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=%v"
//获取微信用户基本信息
WeChatUserInfoUrl = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=%v&openid=%v&lang=zh_CN"
//微信二维码请求
WechatQrcodeCreateUrl = "https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token=%v"
//创建二维码参数设置
WechatQrcodeCreatePostParameter = `{"expire_seconds": %v, "action_name": "QR_SCENE", "action_info": {"scene": {"scene_id": %v}}}`
//二维码图片地址
WechatQrcodeImg = "https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=%v"
/** 微信公众号模版ID **/
//账号登陆成功通知
WechatTplID_100 = "5qm_kPSs7JyYSgjd3kIBH2tLpVm3R8zbu0fFrOPDyrw"
//用户登录提醒
WechatTplID_200 = "9rKojfQ8P8-BKAqiO4wa6k9KkI20TC94A3Sx1jzKAi4"
//登陆提醒
WechatTplID_300 = "3x9HB1IowrdgOFS4vJcvb2p11MZB0QZTSRoferYWsO0"
)
////本地计算签名 signature
//func MakeSignature(timestamp, nonce string) string {
// si := []string{token, timestamp, nonce}
// sort.Strings(si) //字典序排序
// str := strings.Join(si, "") //组合字符串
// s := sha1.New() //返回一个新的使用SHA1校验的hash.Hash接口
// io.WriteString(s, str) //WriteString函数将字符串数组str中的内容写入到s中
// return fmt.Sprintf("%x", s.Sum(nil))
//}
var (
AppID = "wx53b33076923e4e7f"
AppSecret = "768efa1f3f8d9d42061d8af1cd3ea936"
)
//获取微信公众号的access_token
func GetAccessToken() (access_token string, error error) {
accessTokenUrl := fmt.Sprintf(WechatAccessTokenUrl, AppID, AppSecret)
returnAccessTokenData, err := Get(accessTokenUrl)
if err != nil {
//请求微信相关接口网络连接出错
return "", errors.New("请求微信相关接口网络连接出错" + fmt.Sprintf("%v", err))
}
access_token = gjson.GetBytes(returnAccessTokenData, "access_token").String()
if len(access_token) == 0 {
//微信接口返回的错误json信息 string(returnData)
return "", errors.New(string(returnAccessTokenData))
}
return access_token, nil
}
func GetKenAndOpenid(code string) (session_key, openid string, err error) {
url := fmt.Sprintf(`https://api.weixin.qq.com/sns/jscode2session?appid=%v&secret=%v&js_code=%v&grant_type=authorization_code`, AppID, AppSecret, code)
res, err := Get(url)
if err != nil {
//请求微信相关接口网络连接出错
return
}
fmt.Println("获取用户openid,和解密私钥session_key", string((res)))
session_key = gjson.GetBytes(res, "session_key").String()
openid = gjson.GetBytes(res, "openid").String()
return
}
Loading…
Cancel
Save