You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
260 B

package http
import (
bm "go-common/library/net/http/blademaster"
)
func userInfo(c *bm.Context) {
arg := new(struct {
MID int64 `form:"mid" validate:"required"`
})
if err := c.Bind(arg); err != nil {
return
}
c.JSON(tvSrv.UserInfo(c, arg.MID))
}