Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-group
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujiebin
hilo-group
Compare Revisions
master...feature/ios-agent
Source
feature/ios-agent
Select Git revision
...
Target
master
Select Git revision
Compare
Commits (2)
配置
· 7e8e2351
chenweijian
authored
Apr 06, 2023
7e8e2351
ios agent
· f3a086bc
chenweijian
authored
Apr 07, 2023
f3a086bc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
1 deletion
+12
-1
debug.ini
debug.ini
+2
-0
local.ini
local.ini
+2
-0
release.ini
release.ini
+2
-0
charge.go
route/charge_r/charge.go
+6
-1
No files found.
debug.ini
View file @
f3a086bc
...
...
@@ -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
...
...
local.ini
View file @
f3a086bc
...
...
@@ -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
...
...
release.ini
View file @
f3a086bc
...
...
@@ -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
...
...
route/charge_r/charge.go
View file @
f3a086bc
...
...
@@ -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
}