diff --git a/debug.ini b/debug.ini index 4c5ff452094bca74eb1d0337b1380088455616f8..3205478c8644930029b550d4078412daa9ddc844 100644 --- a/debug.ini +++ b/debug.ini @@ -117,6 +117,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 94db393cc9a8046e231d5c34b0b986c311397217..a46fe7acc7d5dcbc3a00b831dd0954b4aae92253 100644 --- a/local.ini +++ b/local.ini @@ -110,6 +110,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 610fc604911d2a7ecbda4a0700435bb50ad01432..ba72927d76fe8c142e8d1a79a34eb4378874b68d 100644 --- a/release.ini +++ b/release.ini @@ -118,6 +118,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 7007aacce3163fad885b2da29a337428b2ef1eb1..7b6b100d79dff9999a4935b7424ca6e2000e2f2a 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 `json:"shareUrl"` + ShareIcon string `json:"shareIcon"` + } - resp.ResponseOk(c, nil) + resp.ResponseOk(c, res{config.GetH5Config().AGENT_SHARE_URL, config.GetH5Config().AGENT_SHARE_ICON}) return myContext, nil }