diff --git a/route/charge_r/charge.go b/route/charge_r/charge.go index 861c3f25ddc19c0cdb648cbb78eb263898c11c0f..4a0d735f62e62a7627fa8de8349b6540fbb20022 100644 --- a/route/charge_r/charge.go +++ b/route/charge_r/charge.go @@ -57,6 +57,6 @@ func CanShareChargeLink(c *gin.Context) (*mycontext.MyContext, error) { } } - resp.ResponseOk(c, res{config.GetH5Config().AGENT_SHARE_URL, config.GetH5Config().AGENT_SHARE_ICON}) + resp.ResponseOk(c, res{shareUrl, config.GetH5Config().AGENT_SHARE_ICON}) return myContext, nil }