蛋蛋星球-客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

md_comm.go 588 B

4 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
123456789101112131415161718
  1. package comm
  2. type AccessRecordsReq struct {
  3. Index string `json:"index,required"` // 页面标签
  4. }
  5. type ImgReqUploadReq struct {
  6. FileName string `json:"file_name,required" binding:"required" example:"文件名"`
  7. ContentType string `json:"content_type,required" binding:"required" example:"image/jpeg"`
  8. }
  9. type UploadReq struct {
  10. FileName string `json:"file_name" binding:"required" example:"文件名"`
  11. File string `json:"file" binding:"required" example:"文件内容(base64)"`
  12. }
  13. type ImgReqUploadResp struct {
  14. SignUrl string `json:"sign_url" example:"签名上传url"`
  15. }