From 7e8e2351fe2fc7876577e27dda1e73bbe5ad106c Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Thu, 6 Apr 2023 16:15:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debug.ini | 2 ++ local.ini | 2 ++ release.ini | 2 ++ route/charge_r/charge.go | 7 ++++++- 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debug.ini b/debug.ini index 976183c..04a8da8 100644 --- a/debug.ini +++ b/debug.ini @@ -114,6 +114,8 @@ NOBLE_BUY_IOS=https://h5.whoisamy.shop/action/hiloHtml/22_05_26_buy_nobility/pag GUILD_DATA_URL=https://test.chathot.me/action/hiloHtml/22_10_18_app_data_coins/index.html MGR_GUILD_DATA_URL=https://test.chathot.me/action/hiloHtml/22_10_18_app_data_coins/union.html RANKING_PINK_DIAMOND_URL=https://test.chathot.me/action/activitiesPage/2022_10_17HiloLiveH5/index.html +AGENT_SHARE_URL=https://test.chathot.me/action/hiloHtml/22_05_30_recharge/topup.html?external_id= +AGENT_SHARE_ICON=https://image.whoisamy.shop/hilo/resource/user_transfer1.png [GROUPIM] MSG_SORT_EXPIRE=21600 MSG_SORT_SNAP=300 diff --git a/local.ini b/local.ini index d46aed4..e026b8f 100644 --- a/local.ini +++ b/local.ini @@ -107,6 +107,8 @@ USER_LEVEL=http://test.chathot.me/action/activityhtml/hiloUserLevel/index.html GROUP_SUPPORT=http://test.chathot.me/action/activityhtml/21_12_06/page.html LUCKY_WHEEL=https://h5.whoisamy.shop/action/activityhtml/21_12_30/page.html NOBLE_BUY_IOS=https://h5.whoisamy.shop/action/hiloHtml/lxt_h5/page.html +AGENT_SHARE_URL= +AGENT_SHARE_ICON= [GROUPIM] MSG_SORT_EXPIRE=43200 MSG_SORT_SNAP=300 diff --git a/release.ini b/release.ini index 4e7a568..2bcd05a 100644 --- a/release.ini +++ b/release.ini @@ -115,6 +115,8 @@ NOBLE_BUY_IOS=https://h5.whoisamy.shop/action/hiloHtml/lxt_h5/page.html GUILD_DATA_URL=https://h5.whoisamy.shop/action/hiloHtml/22_10_18_app_data_coins/index.html MGR_GUILD_DATA_URL=https://h5.whoisamy.shop/action/hiloHtml/22_10_18_app_data_coins/union.html RANKING_PINK_DIAMOND_URL=https://h5.whoisamy.shop/action/activitiesPage/2022_10_17HiloLiveH5/index.html +AGENT_SHARE_URL=https://h5.chathot.me/action/hiloHtml/22_05_30_recharge/topup.html?external_id= +AGENT_SHARE_ICON=https://image.whoisamy.shop/hilo/resource/user_transfer1.png [GROUPIM] MSG_SORT_EXPIRE=1209600 MSG_SORT_SNAP=300 diff --git a/route/charge_r/charge.go b/route/charge_r/charge.go index 7007aac..35aefae 100644 --- a/route/charge_r/charge.go +++ b/route/charge_r/charge.go @@ -3,6 +3,7 @@ package charge_r import ( "git.hilo.cn/hilo-common/domain" "git.hilo.cn/hilo-common/mycontext" + "git.hilo.cn/hilo-common/resource/config" "github.com/gin-gonic/gin" "hilo-group/domain/cache/user_c" "hilo-group/domain/service/diamond_s" @@ -35,7 +36,11 @@ func CanShareChargeLink(c *gin.Context) (*mycontext.MyContext, error) { myContext.Log.Errorf("CanShareChargeLink err:%v", err) return myContext, err } + type res struct { + ShareUrl string + ShareIcon string + } - resp.ResponseOk(c, nil) + resp.ResponseOk(c, res{config.GetH5Config().AGENT_SHARE_URL, config.GetH5Config().AGENT_SHARE_ICON}) return myContext, nil } -- 2.22.0