Skip to content

Commit f712afa

Browse files
publish jdcloud-sdk-go version 1.0.2
1 parent 61270ce commit f712afa

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

services/assistant/ChangeLog.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# 更新历史 #
2-
API版本:1.0.1
2+
API版本:1.0.2
33

4-
| 发布时间 | 版本号 | 更新 | 说明 |
5-
|------------|-------|--------|----------------------------------------------------------------------------------------------------------------|
6-
| 2024-03-27 | 1.0.1 | 支持定时任务 | 保存命令、执行命令、停止命令和查询执行结果等。 |
7-
| 2023-04-03 | 1.0.0 | 增加接口 | 保存命令、执行命令、停止命令和查询执行结果等。 |
4+
| 发布时间 | 版本号 | 更新 | 说明 |
5+
|------------|-------|--------|-------------------------|
6+
| 2024-06-25 | 1.0.2 | 增加字段 | 命令ID。 |
7+
| 2024-03-27 | 1.0.1 | 支持定时任务 | 保存命令、执行命令、停止命令和查询执行结果等。 |
8+
| 2023-04-03 | 1.0.0 | 增加接口 | 保存命令、执行命令、停止命令和查询执行结果等。 |

services/assistant/client/AssistantClient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func NewAssistantClient(credential *core.Credential) *AssistantClient {
4040
Credential: *credential,
4141
Config: *config,
4242
ServiceName: "assistant",
43-
Revision: "1.0.1",
43+
Revision: "1.0.2",
4444
Logger: core.NewDefaultLogger(core.LogInfo),
4545
}}
4646
}

services/assistant/models/Command.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ package models
1919

2020
type Command struct {
2121

22+
/* 命令Id
23+
(Optional) */
24+
CommandId string `json:"commandId"`
25+
2226
/* 命令名称,长度为1\~128个字符,只允许中文、数字、大小写字母、英文下划线(\_)、连字符(-)及点(.)。
2327
(Optional) */
2428
CommandName string `json:"commandName"`

0 commit comments

Comments
 (0)