Bladeren bron

feat:修改

duxin 2 jaren geleden
bovenliggende
commit
2472c2b832
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1 1
      jyBXSubscribe/api/bxsubscribe.api
  2. 1 1
      jyBXSubscribe/api/internal/types/types.go

+ 1 - 1
jyBXSubscribe/api/bxsubscribe.api

@@ -90,7 +90,7 @@ type (
 		AppId     string `header:"appId"`
 		EntId     string `header:"entId,optional"`
 		EntUserId string `header:"entUserId,optional"`
-		Region    string `path:"region,optional"`
+		Region    string `json:"region,optional"`
 		SelectIds string `json:"selectIds,optional"`
 	}
 	viewStatusReq {

+ 1 - 1
jyBXSubscribe/api/internal/types/types.go

@@ -85,7 +85,7 @@ type DistributorReq struct {
 	AppId     string `header:"appId"`
 	EntId     string `header:"entId,optional"`
 	EntUserId string `header:"entUserId,optional"`
-	Region    string `path:"region,optional"`
+	Region    string `json:"region,optional"`
 	SelectIds string `json:"selectIds,optional"`
 }