diff --git a/route/charge_r/charge.go b/route/charge_r/charge.go index 35aefae49a50356fff434079215dcdadbfe7ad67..7b6b100d79dff9999a4935b7424ca6e2000e2f2a 100644 --- a/route/charge_r/charge.go +++ b/route/charge_r/charge.go @@ -37,8 +37,8 @@ func CanShareChargeLink(c *gin.Context) (*mycontext.MyContext, error) { return myContext, err } type res struct { - ShareUrl string - ShareIcon string + ShareUrl string `json:"shareUrl"` + ShareIcon string `json:"shareIcon"` } resp.ResponseOk(c, res{config.GetH5Config().AGENT_SHARE_URL, config.GetH5Config().AGENT_SHARE_ICON})