diff --git a/app/mix/controller/init.go b/app/mix/controller/init.go index 47eaf8b1..b90039ec 100644 --- a/app/mix/controller/init.go +++ b/app/mix/controller/init.go @@ -115,7 +115,7 @@ func Init(r *gin.Engine) { apiAccountGroup.POST("exp_inc", middleware.JSONParamValidator(accountproto.ApiExpIncReq{}), middleware.JwtAuthenticator(), ApiAccountExpInc) apiAccountGroup.POST("cancel", middleware.JSONParamValidator(accountproto.ApiCancelReq{}), middleware.JwtAuthenticator(), ApiCancelAccount) apiAccountGroup.POST("abort_cancellation", middleware.JSONParamValidator(accountproto.ApiAbortCancellationReq{}), middleware.JwtAuthenticator(), ApiAbortAccountCancellation) - apiAccountGroup.POST("get_mobile_phone", middleware.JSONParamValidator(accountproto.ApiGetMobilePhoneReq{}), ApiGetMobilePhone) + apiAccountGroup.GET("get_mobile_phone", middleware.JSONParamValidator(accountproto.ApiGetMobilePhoneReq{}), ApiGetMobilePhone) // 用户关系,用户端支持增删查,不支持改 apiAccountRelationGroup := r.Group("/api/account_relation", PrepareToC())