Ver Fonte

机器人列表

lichangdong há 14 horas atrás
pai
commit
112fecf7b7
2 ficheiros alterados com 2 adições e 2 exclusões
  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 {