Browse Source

由廷诚发起的CLOUDPHOTO SDK自动发布, 版本号:1.8.1

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 7 years ago
parent
commit
4a3a38f2c2
3 changed files with 6 additions and 0 deletions
  1. 4 0
      ChangeLog.txt
  2. 1 0
      services/cloudphoto/edit_photos.go
  3. 1 0
      services/cloudphoto/struct_library.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2018-04-11 Version: 1.8.1
+1, GetLibrary/FetchLibraries add return ctime
+2, Editphotos add input param takenAt
+
 2018-04-10 Version: 1.8.0
 1, Add three interfaces CreateNetworkInterfacePermission DeleteNetworkInterfacePermission DescribeNetworkInterfacePermissions.
 

+ 1 - 0
services/cloudphoto/edit_photos.go

@@ -78,6 +78,7 @@ type EditPhotosRequest struct {
 	*requests.RpcRequest
 	PhotoId         *[]string        `position:"Query" name:"PhotoId"  type:"Repeated"`
 	ShareExpireTime requests.Integer `position:"Query" name:"ShareExpireTime"`
+	TakenAt         requests.Integer `position:"Query" name:"TakenAt"`
 	Title           string           `position:"Query" name:"Title"`
 	Remark          string           `position:"Query" name:"Remark"`
 	StoreName       string           `position:"Query" name:"StoreName"`

+ 1 - 0
services/cloudphoto/struct_library.go

@@ -17,6 +17,7 @@ package cloudphoto
 
 // Library is a nested struct in cloudphoto response
 type Library struct {
+	Ctime           int             `json:"Ctime" xml:"Ctime"`
 	LibraryId       string          `json:"LibraryId" xml:"LibraryId"`
 	AutoCleanConfig AutoCleanConfig `json:"AutoCleanConfig" xml:"AutoCleanConfig"`
 	Quota           Quota           `json:"Quota" xml:"Quota"`