浏览代码

机器人列表

lichangdong 10 小时之前
父节点
当前提交
112fecf7b7
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      desc/wechat/sop_task.api
  2. 1 1
      internal/types/types.go

+ 1 - 1
desc/wechat/sop_task.api

@@ -152,7 +152,7 @@ type (
 	}
 
 	GetBotByTaskIdReq {
-    	TaskId int `json:"sourceId" validate:"required,number,gt=0"`
+    	TaskId int `json:"taskId" validate:"required,number,gt=0"`
     }
 
     BotList {

+ 1 - 1
internal/types/types.go

@@ -1474,7 +1474,7 @@ type GenerateAiAnswerResp struct {
 type GetBotByTaskIdReq struct {
 	// required : true
 	// min : 0
-	TaskId int `json:"sourceId" validate:"required,number,gt=0"`
+	TaskId int `json:"taskId" validate:"required,number,gt=0"`
 }
 
 type BotList struct {