This commit is contained in:
aozhiwei 2024-07-19 11:46:13 +08:00
parent 6b51febc87
commit 94413a9e43
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,5 @@
package user
type ApiGroup struct {
UserApi
}

View File

@ -0,0 +1,29 @@
package asset
import (
"q5"
"f5"
"main/constant"
"main/common"
"jccommon"
"fmt"
"mt"
"strings"
. "main/global"
"github.com/gin-gonic/gin"
)
type UserApi struct {
}
func (this *UserApi) Info(c *gin.Context) {
rspObj := struct {
ErrCode int32 `json:"errcode"`
ErrMsg string `json:"errmsg"`
ContributionPoint int64 `json:"contribution_point"`
Gold float64 `json:"gold"`
}{
}
c.JSON(200, rspObj)
}