duxin 2 роки тому
батько
коміт
2472c2b832

+ 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"`
 }