Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-common
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-common
Commits
9fec9828
Commit
9fec9828
authored
Jun 14, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:新的operateType
parent
a12fdbce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
diamond.go
_const/enum/diamond_e/diamond.go
+3
-0
utils_test.go
script/utils/utils_test.go
+1
-1
No files found.
_const/enum/diamond_e/diamond.go
View file @
9fec9828
...
@@ -126,6 +126,9 @@ const (
...
@@ -126,6 +126,9 @@ const (
H5GameFishLordJoin
OperateType
=
103
//加入游戏扣费
H5GameFishLordJoin
OperateType
=
103
//加入游戏扣费
H5GameFishLordAward
OperateType
=
104
//游戏结算奖励
H5GameFishLordAward
OperateType
=
104
//游戏结算奖励
H5GameFishLordLevelAward
OperateType
=
105
//游戏等级奖励
H5GameFishLordLevelAward
OperateType
=
105
//游戏等级奖励
H5GameGameSlotJoin
OperateType
=
106
//加入游戏扣费
H5GameGameSlotAward
OperateType
=
107
//游戏结算奖励
H5GameGameSlotLevelAward
OperateType
=
108
//游戏等级奖励
)
)
const
(
const
(
...
...
script/utils/utils_test.go
View file @
9fec9828
...
@@ -10,6 +10,6 @@ func TestTestCommon(t *testing.T) {
...
@@ -10,6 +10,6 @@ func TestTestCommon(t *testing.T) {
}
}
func
TestJwt
(
t
*
testing
.
T
)
{
func
TestJwt
(
t
*
testing
.
T
)
{
token
,
_
:=
jwt
.
GenerateToken
(
7619
,
"f2ab93523f2a4f94825d544a67607290
"
,
"hiloApi"
)
token
,
_
:=
jwt
.
GenerateToken
(
4051
,
"96f6c25208a346b8871d5ef1a74a7fe3
"
,
"hiloApi"
)
t
.
Logf
(
token
)
t
.
Logf
(
token
)
}
}
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