package
Version:
v0.0.0-...-3bc755c
Opens a new window with list of versions in this module.
Published: Sep 17, 2021
License: GPL-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Code generated by goctl. DO NOT EDIT.
type AppUser struct {
Uid int64 `json:"uid"`
Auid int64 `json:"auid"`
Beid int64 `json:"beid"`
Ptyid int64 `json:"ptyid"`
Nickname string `json:"nickname"`
Openid string `json:"openid"`
Avator string `json:"avator"`
}
type Application struct {
Sname string `json:"Sname"`
Logo string `json:"logo"`
IsClose int64 `json:"isclose"`
Fullwebsite string `json:"fullwebsite"`
}
type Beid struct {
Beid int64 `json:"beid"`
}
type JwtToken struct {
AccessToken string `json:"access_token,omitempty"`
AccessExpire int64 `json:"access_expire,omitempty"`
RefreshAfter int64 `json:"refresh_after,omitempty"`
}
type LoginAppUser struct {
Uid int64 `json:"uid"`
Auid int64 `json:"auid"`
Beid int64 `json:"beid"`
Ptyid int64 `json:"ptyid"`
Nickname string `json:"nickname"`
Openid string `json:"openid"`
Avator string `json:"avator"`
JwtToken
}
type LoginReq struct {
Mobile string `json:"mobile"`
Password string `json:"password"`
Type int64 `json:"type"`
}
type RegisterReq struct {
Mobile string `json:"mobile"`
Password string `json:"password"`
Smscode string `json:"smscode"`
}
type SnsReq struct {
Beid
Ptyid int64 `json:"ptyid"`
BackUrl string `json:"back_url"`
}
type SnsResp struct {
Beid
Ptyid int64 `json:"ptyid"`
Appid string `json:"appid"`
Title string `json:"title"`
LoginUrl string `json:"login_url"`
}
type Token struct {
Token string `json:"token"`
}
type UserReply struct {
Auid int64 `json:"auid"`
Uid int64 `json:"uid"`
Beid int64 `json:"beid"`
Ptyid int64 `json:"ptyid"`
Username string `json:"username"`
Mobile string `json:"mobile"`
Nickname string `json:"nickname"`
Openid string `json:"openid"`
Avator string `json:"avator"`
JwtToken
}
type UserReq struct {
Auid int64 `json:"auid"`
Uid int64 `json:"uid"`
Beid int64 `json:"beid"`
Ptyid int64 `json:"ptyid"`
}
type WxLoginReq struct {
Beid int64 `json:"beid"`
Code string `json:"code"`
Ptyid int64 `json:"ptyid"`
}
type WxShareResp struct {
Appid string `json:"appid"`
Timestamp int64 `json:"timestamp"`
Noncestr string `json:"noncestr"`
Signature string `json:"signature"`
}
type WxTicket struct {
Ticket string `json:"ticket"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.