package md type SetOssReq struct { FileAccessKey string `json:"file_access_key" binding:"required" example:"对象存储AccessToken"` FileSecretKey string `json:"file_secret_key" binding:"required" example:"对象存储SecretToken"` FileBucketHost string `json:"file_bucket_host" binding:"required" example:"对象存储域名"` FileBucketRegion string `json:"file_bucket_region" binding:"required" example:"文件所属区域"` FileBucket string `json:"file_bucket" binding:"required" example:"对象存储bucket(空间)"` } type SetOssResp struct { Data SetOssReq `json:"data"` //数据内容 QiNiuBucketRegionList []QiNiuBucketRegion `json:"qi_niu_bucket_region_list"` //七牛云存储区域列表 } type WxOpenSetReq struct { Token string `json:"token" binding:"required" example:"消息校验Token"` AesKey string `json:"aes_key" binding:"required" example:"消息加解密Key"` Appid string `json:"appid" binding:"required" example:"appid"` AppSecret string `json:"app_secret" binding:"required" example:"appSecret"` } type WxOpenGetResp struct { Token string `json:"token" example:"消息校验Token"` AesKey string `json:"aes_key" example:"消息加解密Key"` Appid string `json:"appid" example:"appid"` AppSecret string `json:"app_secret" example:"appSecret"` WxOpenAppletServerDomain string `json:"wx_open_applet_server_domain" example:"微信开放平台-小程序服务器域名"` WxOpenAuthorizationEventReceivingConfiguration string `json:"wx_open_authorization_event_receiving_configuration" example:"微信开放平台-授权事件接收配置"` WxOpenDomainOfTheInitiatingPageForLoginAuthorization string `json:"wx_open_domain_of_the_initiating_page_for_login_authorization" example:"微信开放平台-登录授权的发起页域名"` WxOpenMessageAndEventReceptionConfiguration string `json:"wx_open_message_and_event_reception_configuration" example:"微信开放平台-消息与事件接收配置"` WxOpenWhiteListIp string `json:"wx_open_white_list_ip" example:"微信开放平台-白名单ip"` } type AppletAddReq struct { Name string `json:"name" binding:"required" example:"小程序名称"` Logo string `json:"logo" binding:"required" example:"小程序logo"` Appid string `json:"appid" binding:"required" example:"授权小程序appid"` OriginalId string `json:"original_id" binding:"required" example:"授权小程序原始id"` } type AppletUpdateReq struct { Id int `json:"id" binding:"required"` Name string `json:"name" binding:"required" example:"小程序名称"` Logo string `json:"logo" binding:"required" example:"小程序logo"` } type ShareIndexResp struct { MasterId string `json:"master_id"` AgentDomain string `json:"agent_domain" example:"代理分享地址"` MediumDomain string `json:"medium_domain" example:"媒体分享地址"` } type SetMobReq struct { MobAppKey string `json:"mob_app_key"` MobAppSecret string `json:"mob_app_secret"` } type SetMobResp struct { Data SetMobReq `json:"data"` //数据内容 }