1
This commit is contained in:
parent
6b51febc87
commit
94413a9e43
5
server/marketserver/api/v1/user/enter.go
Normal file
5
server/marketserver/api/v1/user/enter.go
Normal file
@ -0,0 +1,5 @@
|
||||
package user
|
||||
|
||||
type ApiGroup struct {
|
||||
UserApi
|
||||
}
|
29
server/marketserver/api/v1/user/user.go
Normal file
29
server/marketserver/api/v1/user/user.go
Normal 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)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user