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
Commits
b01462a8
Commit
b01462a8
authored
Apr 13, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Feature/ios agent
parent
0b8e347c
Changes
4
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 @
b01462a8
...
@@ -117,6 +117,8 @@ NOBLE_BUY_IOS=https://h5.whoisamy.shop/action/hiloHtml/22_05_26_buy_nobility/pag
...
@@ -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
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
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
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]
[GROUPIM]
MSG_SORT_EXPIRE
=
21600
MSG_SORT_EXPIRE
=
21600
MSG_SORT_SNAP
=
300
MSG_SORT_SNAP
=
300
...
...
local.ini
View file @
b01462a8
...
@@ -110,6 +110,8 @@ USER_LEVEL=http://test.chathot.me/action/activityhtml/hiloUserLevel/index.html
...
@@ -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
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
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
NOBLE_BUY_IOS
=
https://h5.whoisamy.shop/action/hiloHtml/lxt_h5/page.html
AGENT_SHARE_URL
=
AGENT_SHARE_ICON
=
[GROUPIM]
[GROUPIM]
MSG_SORT_EXPIRE
=
43200
MSG_SORT_EXPIRE
=
43200
MSG_SORT_SNAP
=
300
MSG_SORT_SNAP
=
300
...
...
release.ini
View file @
b01462a8
...
@@ -118,6 +118,8 @@ NOBLE_BUY_IOS=https://h5.whoisamy.shop/action/hiloHtml/lxt_h5/page.html
...
@@ -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
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
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
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]
[GROUPIM]
MSG_SORT_EXPIRE
=
1209600
MSG_SORT_EXPIRE
=
1209600
MSG_SORT_SNAP
=
300
MSG_SORT_SNAP
=
300
...
...
route/charge_r/charge.go
View file @
b01462a8
...
@@ -3,6 +3,7 @@ package charge_r
...
@@ -3,6 +3,7 @@ package charge_r
import
(
import
(
"git.hilo.cn/hilo-common/domain"
"git.hilo.cn/hilo-common/domain"
"git.hilo.cn/hilo-common/mycontext"
"git.hilo.cn/hilo-common/mycontext"
"git.hilo.cn/hilo-common/resource/config"
"github.com/gin-gonic/gin"
"github.com/gin-gonic/gin"
"hilo-group/domain/cache/user_c"
"hilo-group/domain/cache/user_c"
"hilo-group/domain/service/diamond_s"
"hilo-group/domain/service/diamond_s"
...
@@ -35,7 +36,11 @@ func CanShareChargeLink(c *gin.Context) (*mycontext.MyContext, error) {
...
@@ -35,7 +36,11 @@ func CanShareChargeLink(c *gin.Context) (*mycontext.MyContext, error) {
myContext
.
Log
.
Errorf
(
"CanShareChargeLink err:%v"
,
err
)
myContext
.
Log
.
Errorf
(
"CanShareChargeLink err:%v"
,
err
)
return
myContext
,
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
return
myContext
,
nil
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment