Documentation
¶
Index ¶
- Constants
- type ActionReq
- type AdminListReq
- type BaseListResp
- type BaseModel
- type BaseWechatResp
- type Button
- type DiscordPP
- type FetchTasksReq
- type FetchTasksResp
- type GetAccessTokenResp
- type IdReq
- type ImagineReq
- type IntArray
- type MjBaseResponse
- type NotifyResp
- type PrepaySign
- type StartAndLimit
- type StringArray
- type WXSessionRet
- type WeChatGetUserPhoneResp
- type WeChatGetUserPhoneRespPhone
- type WeChatLoginReq
- type WeChatLoginResp
- type WeChatPhoneLoginReq
- type WeComRobotContent
- type WeComRobotReq
- type WeComRobotReqText
Constants ¶
View Source
const ( DefaultJsonField = "{}" DefaultDelCondition = "deleted_at = 0" WhereIdCondition = "id = ?" OrderUpdatedAtDesc = "updated_at desc" OrderCreatedAtDesc = "created_at desc" OrderCreatedAtAsc = "created_at asc" OrderIDAsc = "id asc" OrderIDDesc = "id desc" ColumnUpdatedAt = "updated_at" ColumnCreatedAt = "created_at" ColumnDeletedAt = "deleted_at" )
View Source
const ( NotifyFail = "FAIL" NotifySuccess = "SUCCESS" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminListReq ¶
type BaseListResp ¶
type BaseListResp struct { Total int64 `json:"total"` List []interface{} `json:"list"` }
type BaseWechatResp ¶
type FetchTasksReq ¶
type FetchTasksReq struct {
Ids []string `json:"ids"`
}
type FetchTasksResp ¶
type GetAccessTokenResp ¶
type GetAccessTokenResp struct { BaseWechatResp AccessToken string `json:"access_token"` ExpiresIn int `json:"expires_in"` }
type ImagineReq ¶
type MjBaseResponse ¶
type NotifyResp ¶
type PrepaySign ¶
type StartAndLimit ¶
type StringArray ¶
type StringArray []string
func (*StringArray) Scan ¶
func (urls *StringArray) Scan(val interface{}) error
type WXSessionRet ¶
type WXSessionRet struct { OpenId string `json:"openid"` SessionKey string `json:"session_key"` UnionId string `json:"unionid"` BaseWechatResp }
type WeChatGetUserPhoneResp ¶
type WeChatGetUserPhoneResp struct { BaseWechatResp PhoneInfo *WeChatGetUserPhoneRespPhone `json:"phone_info"` }
type WeChatLoginReq ¶
type WeChatLoginReq struct {
Code string `json:"code" validate:"min=1"`
}
type WeChatLoginResp ¶
type WeChatLoginResp struct {
Token string `json:"token"`
}
type WeChatPhoneLoginReq ¶
type WeComRobotContent ¶
type WeComRobotReq ¶
type WeComRobotReq struct { MsgType string `json:"msgtype"` Text *WeComRobotReqText `json:"text"` }
type WeComRobotReqText ¶
Click to show internal directories.
Click to hide internal directories.