mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 17:22:27 +08:00
格式化代码
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
package controller
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"hk4e/pkg/logger"
|
||||
"net/http"
|
||||
"strconv"
|
||||
|
||||
"hk4e/pkg/logger"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
type TokenVerifyReq struct {
|
||||
@@ -25,7 +27,7 @@ func (c *Controller) gateTokenVerify(context *gin.Context) {
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
logger.LOG.Debug("gate token verify, req: %v", tokenVerifyReq)
|
||||
logger.Debug("gate token verify, req: %v", tokenVerifyReq)
|
||||
accountId, err := strconv.ParseUint(tokenVerifyReq.AccountId, 10, 64)
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user