From e98ea3f0187331667179c255e5702810be70ca07 Mon Sep 17 00:00:00 2001
From: haoyanbin <605649647@qq.com>
Date: Wed, 26 Jan 2022 10:30:45 +0800
Subject: [PATCH] req

---
 app/mobile/apis/org_player.go        | 2 +-
 app/mobile/service/dto/org_player.go | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/mobile/apis/org_player.go b/app/mobile/apis/org_player.go
index 2716f18..cb2c375 100755
--- a/app/mobile/apis/org_player.go
+++ b/app/mobile/apis/org_player.go
@@ -137,7 +137,7 @@ func (e OrgPlayer) Get(c *gin.Context) {
 // @Router /mobile/v1/org-player/info [get]
 // @Security Bearer
 func (e OrgPlayer) GetInfo(c *gin.Context) {
-	req := dto.OrgPlayerGetReq{}
+	req := dto.OrgPlayerGetInfoReq{}
 	s := service.OrgPlayer{}
 	c.Bind(&req)
 	err := e.MakeContext(c).
diff --git a/app/mobile/service/dto/org_player.go b/app/mobile/service/dto/org_player.go
index fd26c7c..930516d 100755
--- a/app/mobile/service/dto/org_player.go
+++ b/app/mobile/service/dto/org_player.go
@@ -68,7 +68,8 @@ type OrgPlayerDataGetReply struct {
 	CountMatch string `json:"countMatch"`
 }
 type OrgPlayerGetInfoReq struct {
-	Id int `uri:"id"`
+	dto.Pagination `search:"-"`
+	PlayerId       int `form:"playerId" json:"playerId"`
 }
 
 type OrgPlayerGetInfoReply struct {
@@ -139,8 +140,7 @@ type OrgMatchEvaluateList struct {
 
 // OrgPlayerGetReq 鍔熻兘鑾峰彇璇锋眰鍙傛暟
 type OrgPlayerGetReq struct {
-	dto.Pagination `search:"-"`
-	PlayerId       int `form:"playerId" json:"playerId"`
+	Id int `uri:"id"`
 }
 
 type OrgPlayerGetReply struct {
-- 
2.18.1