Merge branch 'develop' of https://gitee.com/fusenpack/fusenapi into develop
This commit is contained in:
@@ -89,6 +89,8 @@ type (
|
||||
FileSize int64 `form:"file_size,optional"` // 上传唯一标识信息
|
||||
Metadata string `form:"meta_data,optional"` // 上传文件额外信息
|
||||
Source string `form:"source"` // 上传来源
|
||||
Refresh int64 `form:"refresh,optional"` // 强制更新 10
|
||||
ResourceId string `form:"resource_id,optional"` // 资源ID
|
||||
}
|
||||
|
||||
UploadFilesReq {
|
||||
@@ -96,6 +98,8 @@ type (
|
||||
UploadBucket int64 `form:"upload_bucket,options=[1,2],default=1"` // 上传桶名:1=缓存,2=持久
|
||||
UploadInfo string `form:"upload_info"` // 上传信息 json
|
||||
Source string `form:"source"` // 上传来源
|
||||
Refresh int64 `form:"refresh,optional"` // 强制更新 10
|
||||
ResourceId string `form:"resource_id,optional"` // 资源ID
|
||||
}
|
||||
UploadCallbackReq {
|
||||
UploadBucket int64 `form:"upload_bucket,options=[1,2],default=1"` // 上传桶名:1=缓存,2=持久
|
||||
|
||||
@@ -32,21 +32,9 @@ type RenderNotifyReq {
|
||||
}
|
||||
//注册回调
|
||||
type RegisterAccountNotifyReq {
|
||||
Data RegisterAccountData `json:"data"`
|
||||
Time int64 `json:"time,optional"` //utc时间戳(用于验证签名)
|
||||
Sign string `json:"sign,optional"` //签名
|
||||
}
|
||||
type RegisterAccountData {
|
||||
WebsocketConnId string `json:"websocket_conn_id"` //连接标识
|
||||
Info map[string]interface{} `json:"info"`
|
||||
Data string `json:"data"` //aes_cbc加密密文
|
||||
}
|
||||
//登录回调
|
||||
type LoginNotifyReq {
|
||||
Data LoginNotifyData `json:"data"`
|
||||
Time int64 `json:"time,optional"` //utc时间戳(用于验证签名)
|
||||
Sign string `json:"sign,optional"` //签名
|
||||
}
|
||||
type LoginNotifyData {
|
||||
WebsocketConnId string `json:"websocket_conn_id"` //连接标识
|
||||
Info map[string]interface{} `json:"info"`
|
||||
Data string `json:"data"` //aes_cbc加密密文
|
||||
}
|
||||
Reference in New Issue
Block a user