From 226f92581bbf19f979320495b4767a821b41d812 Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Thu, 16 Mar 2023 18:19:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E6=89=B6=E6=8C=81=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- route/charge_r/charge.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/route/charge_r/charge.go b/route/charge_r/charge.go index 8bbfe33..7007aac 100644 --- a/route/charge_r/charge.go +++ b/route/charge_r/charge.go @@ -12,7 +12,7 @@ import ( // @Tags 充值 // @Summary 是否可以分享充值链接 -// @Param extId query string true "分享对象的external id" +// @Param externalId query string true "分享对象的external id" // @Success 200 // @Router /v1/charge/share [get] func CanShareChargeLink(c *gin.Context) (*mycontext.MyContext, error) { @@ -23,7 +23,7 @@ func CanShareChargeLink(c *gin.Context) (*mycontext.MyContext, error) { return myContext, err } - extId := c.Query("extId") + extId := c.Query("externalId") model := domain.CreateModelContext(myContext) toUser, err := user_c.GetUserByExternalId(model, extId) if err != nil { -- 2.22.0