From 4f5cb8043ca43ae735fff7c9a645054ccf9e6438 Mon Sep 17 00:00:00 2001 From: bruceybian Date: Mon, 5 Feb 2024 21:29:10 +0800 Subject: [PATCH] update DefaultSearchLogStartTimestamp type to int64 --- tencentcloud/common/cloud_common.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tencentcloud/common/cloud_common.go b/tencentcloud/common/cloud_common.go index 61c5598112..7acf08a825 100644 --- a/tencentcloud/common/cloud_common.go +++ b/tencentcloud/common/cloud_common.go @@ -16,7 +16,7 @@ import ( const ( // DefaultSearchLogStartTimestamp sync logs start time 2023-11-07 16:41:00 - DefaultSearchLogStartTimestamp = 1699346460000 + DefaultSearchLogStartTimestamp int64 = 1699346460000 DefaultTopicId = "aef50d54-b17d-4782-8618-a7873203ec29" @@ -40,7 +40,7 @@ func GetResourceCreatorAccountInfo(client *connectivity.TencentCloudClient, reso } request := cls.NewSearchLogRequest() - request.From = helper.IntInt64(DefaultSearchLogStartTimestamp) + request.From = helper.Int64(DefaultSearchLogStartTimestamp) request.To = helper.Int64(CurrentTimeMillisecond()) request.TopicId = helper.String(DefaultTopicId)