123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- // Code generated by goctl. DO NOT EDIT.
- package types
- type PageResult struct {
- Page int `json:"page"`
- Rows int `json:"rows"`
- TotalSize int64 `json:"totalSize"`
- TotalPageSize int64 `json:"totalPageSize"`
- Content []map[string]interface{} `json:"content"`
- }
- type WXLoginResponse struct {
- OpenID string `json:"openid"`
- SessionKey string `json:"session_key"`
- UnionID string `json:"unionid"`
- ErrCode int `json:"errcode"`
- ErrMsg string `json:"errmsg"`
- }
- type Watermark struct {
- AppID string `json:"appid"`
- TimeStamp int64 `json:"timestamp"`
- }
- type WXUserInfo struct {
- OpenID string `json:"openId,omitempty"`
- SessionKey string `json:"SessionKey"`
- NickName string `json:"nickName"`
- AvatarUrl string `json:"avatarUrl"`
- Gender int64 `json:"gender"`
- Country string `json:"country"`
- Province string `json:"province"`
- City string `json:"city"`
- UnionID string `json:"unionId,omitempty"`
- Language string `json:"language"`
- Watermark Watermark `json:"watermark,omitempty"`
- }
- type ResUserInfo struct {
- UserInfo WXUserInfo `json:"userInfo"`
- RawData string `json:"rawData"`
- Signature string `json:"signature"`
- EncryptedData string `json:"encryptedData"`
- IV string `json:"iv"`
- }
- type LoginByWeixinRequest struct {
- Code string `json:"code"`
- }
- type AuthUserInfo struct {
- ID int64 `json:"id"`
- Mobile string `json:"mobile"`
- UserName string `json:"username"`
- NickName string `json:"nickname"`
- Gender int64 `json:"gender"`
- Avatar string `json:"avatar"`
- Birthday int64 `json:"birthday"`
- ErpRoleType int64 `json:"erp_role_type"`
- ErpRole string `json:"erp_role"`
- MkId string `json:"mk_id"`
- }
- type LoginByWeixinResponse struct {
- Token string `json:"token"`
- UserInfo AuthUserInfo `json:"userInfo"`
- }
- type JzQrcodeResponse struct {
- Id int64 `json:"id"`
- FileId string `json:"fileId"`
- }
- type BindMobileRequest struct {
- Iv string `json:"iv"`
- EncryptedData string `json:"encryptedData"`
- }
- type BindMobileResponse struct {
- Id int64 `json:"id"`
- }
- type PartTimeUserAddRequest struct {
- Name string `json:"name"`
- IponeNumber string `json:"ipone_number"`
- Sex int64 `json:"sex"`
- MkId string `json:"mk_id"`
- CityId int64 `json:"city_id"` // 城市
- }
- type InfoResponse struct {
- ID int64 `json:"id"`
- Mobile string `json:"mobile"`
- UserName string `json:"username"`
- CityName string `json:"cityname"`
- NickName string `json:"nickname"`
- Gender int64 `json:"gender"`
- Avatar string `json:"avatar"`
- Birthday int64 `json:"birthday"`
- ErpRoleType int64 `json:"erpRoleType"`
- }
- type PunchClockRequest struct {
- Lat string `json:"lat"`
- Address string `json:"address"`
- Type int64 `json:"type"`
- }
- type EnrollRequest struct {
- Scene string `json:"scene"`
- Name string `json:"name"`
- ContactName string `json:"contactName"`
- ContactPhone string `json:"contactPhone"`
- SchId int64 `json:"schId"`
- Location string `json:"location"`
- }
- type EnrollAddReq struct {
- StuName string `json:"stu_name"`
- AgeGroup int `json:"age_group,optional"`
- StuLinkPerson int `json:"stu_link_person"`
- StuPhone string `json:"stu_phone"`
- SchId int `json:"sch_id,optional"`
- Address string `json:"address"`
- Sign string `json:"sign"`
- }
- type Response struct {
- Code int `json:"code"`
- Msg string `json:"msg"`
- Data interface{} `json:"data"`
- }
- type GetErpOptionsetReq struct {
- Code string `json:"code"`
- }
|