Ver código fonte

LINKFACE SDK Auto Released By jiayao.wjy,Version:1.35.1

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 anos atrás
pai
commit
37fea6e641

+ 5 - 0
ChangeLog.txt

@@ -1,3 +1,8 @@
+2018-11-02 Version: 1.35.1
+1, deviceName and productKey can be used instead of iotId.
+2, New productKey fields for queryauthentication output parameter.
+3, New deviceName fields for queryauthentication output parameter.
+
 2018-11-02 Version: 1.35.0
 1, first version
 

+ 3 - 1
services/linkface/query_add_user_info.go

@@ -76,7 +76,9 @@ func (client *Client) QueryAddUserInfoWithCallback(request *QueryAddUserInfoRequ
 // QueryAddUserInfoRequest is the request struct for api QueryAddUserInfo
 type QueryAddUserInfoRequest struct {
 	*requests.RpcRequest
-	IotId string `position:"Body" name:"IotId"`
+	IotId      string `position:"Body" name:"IotId"`
+	DeviceName string `position:"Body" name:"DeviceName"`
+	ProductKey string `position:"Body" name:"ProductKey"`
 }
 
 // QueryAddUserInfoResponse is the response struct for api QueryAddUserInfo

+ 2 - 0
services/linkface/query_authentication.go

@@ -80,6 +80,8 @@ type QueryAuthenticationRequest struct {
 	IotId       string           `position:"Body" name:"IotId"`
 	PageSize    requests.Integer `position:"Body" name:"PageSize"`
 	CurrentPage requests.Integer `position:"Body" name:"CurrentPage"`
+	DeviceName  string           `position:"Body" name:"DeviceName"`
+	ProductKey  string           `position:"Body" name:"ProductKey"`
 }
 
 // QueryAuthenticationResponse is the response struct for api QueryAuthentication

+ 3 - 1
services/linkface/query_sync_pic_schedule.go

@@ -76,7 +76,9 @@ func (client *Client) QuerySyncPicScheduleWithCallback(request *QuerySyncPicSche
 // QuerySyncPicScheduleRequest is the request struct for api QuerySyncPicSchedule
 type QuerySyncPicScheduleRequest struct {
 	*requests.RpcRequest
-	IotId string `position:"Body" name:"IotId"`
+	IotId      string `position:"Body" name:"IotId"`
+	DeviceName string `position:"Body" name:"DeviceName"`
+	ProductKey string `position:"Body" name:"ProductKey"`
 }
 
 // QuerySyncPicScheduleResponse is the response struct for api QuerySyncPicSchedule

+ 2 - 0
services/linkface/struct_data_item.go

@@ -17,6 +17,7 @@ package linkface
 
 // DataItem is a nested struct in linkface response
 type DataItem struct {
+	DeviceName   string `json:"DeviceName" xml:"DeviceName"`
 	ExpiredTime  string `json:"ExpiredTime" xml:"ExpiredTime"`
 	ClientId     string `json:"ClientId" xml:"ClientId"`
 	IotId        string `json:"IotId" xml:"IotId"`
@@ -24,6 +25,7 @@ type DataItem struct {
 	CostQuantity int    `json:"CostQuantity" xml:"CostQuantity"`
 	ApkPubkey    string `json:"ApkPubkey" xml:"ApkPubkey"`
 	UserId       string `json:"UserId" xml:"UserId"`
+	ProductKey   string `json:"ProductKey" xml:"ProductKey"`
 	PackageName  string `json:"PackageName" xml:"PackageName"`
 	Quantity     int    `json:"Quantity" xml:"Quantity"`
 	BeginTime    string `json:"BeginTime" xml:"BeginTime"`

+ 4 - 2
services/linkface/sync_face_pictures.go

@@ -76,8 +76,10 @@ func (client *Client) SyncFacePicturesWithCallback(request *SyncFacePicturesRequ
 // SyncFacePicturesRequest is the request struct for api SyncFacePictures
 type SyncFacePicturesRequest struct {
 	*requests.RpcRequest
-	IotId   string `position:"Body" name:"IotId"`
-	GroupId string `position:"Body" name:"GroupId"`
+	IotId      string `position:"Body" name:"IotId"`
+	GroupId    string `position:"Body" name:"GroupId"`
+	DeviceName string `position:"Body" name:"DeviceName"`
+	ProductKey string `position:"Body" name:"ProductKey"`
 }
 
 // SyncFacePicturesResponse is the response struct for api SyncFacePictures