فهرست منبع

Merge branch 'fixbug/task-603-0516-lcd' into debug

lichangdong 16 ساعت پیش
والد
کامیت
6a5ddce4a1
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

@@ -1508,7 +1508,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 {