Commit 226f9258 authored by chenweijian's avatar chenweijian

活动扶持优化

parent f1ca9710
...@@ -12,7 +12,7 @@ import ( ...@@ -12,7 +12,7 @@ import (
// @Tags 充值 // @Tags 充值
// @Summary 是否可以分享充值链接 // @Summary 是否可以分享充值链接
// @Param extId query string true "分享对象的external id" // @Param externalId query string true "分享对象的external id"
// @Success 200 // @Success 200
// @Router /v1/charge/share [get] // @Router /v1/charge/share [get]
func CanShareChargeLink(c *gin.Context) (*mycontext.MyContext, error) { func CanShareChargeLink(c *gin.Context) (*mycontext.MyContext, error) {
...@@ -23,7 +23,7 @@ func CanShareChargeLink(c *gin.Context) (*mycontext.MyContext, error) { ...@@ -23,7 +23,7 @@ func CanShareChargeLink(c *gin.Context) (*mycontext.MyContext, error) {
return myContext, err return myContext, err
} }
extId := c.Query("extId") extId := c.Query("externalId")
model := domain.CreateModelContext(myContext) model := domain.CreateModelContext(myContext)
toUser, err := user_c.GetUserByExternalId(model, extId) toUser, err := user_c.GetUserByExternalId(model, extId)
if err != nil { if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment