auth.go 397 B

12345678910111213141516
  1. // Copyright 2019 getensh.com. All rights reserved.
  2. // Use of this source code is governed by getensh.com.
  3. package apis
  4. // 生成oss上传相关信息
  5. type AuthGetOSSInfoReq struct {
  6. Uid int64 `json:"uid" description:"用户唯一id,基数从 10000 开始"`
  7. }
  8. type AuthGetOSSInfoReply struct {
  9. AccessKeyId string
  10. AccessKeySecret string
  11. SecurityToken string
  12. Expiration int64
  13. }