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
afe6d833
Commit
afe6d833
authored
Jan 07, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:调整mic,18个
parent
1254d63a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
test_20_in_mic.go
script/test_20_in_mic.go
+1
-1
utils_test.go
utils/utils_test.go
+1
-1
No files found.
script/test_20_in_mic.go
View file @
afe6d833
...
...
@@ -10,7 +10,7 @@ import (
"time"
)
var
micCodes
=
[]
string
{
"1000653"
,
"1000516"
,
"1000675"
,
"1000890"
,
"1000755"
,
"1000593"
,
"1000629"
,
"1000634"
,
"1000765"
,
"1000
839"
,
"1000355"
,
"1000
591"
,
"1000633"
,
"1000224"
,
"1000611"
,
"1000689"
,
"1000467"
,
"1000384"
,
"1000367"
,
"1000623"
}
var
micCodes
=
[]
string
{
"1000653"
,
"1000516"
,
"1000675"
,
"1000890"
,
"1000755"
,
"1000593"
,
"1000629"
,
"1000634"
,
"1000765"
,
"1000591"
,
"1000633"
,
"1000224"
,
"1000611"
,
"1000689"
,
"1000467"
,
"1000384"
,
"1000367"
,
"1000623"
}
func
main
()
{
var
users
[]
model
.
User
...
...
utils/utils_test.go
View file @
afe6d833
...
...
@@ -11,6 +11,6 @@ func TestTestCommon(t *testing.T) {
}
func
TestJwt
(
t
*
testing
.
T
)
{
token
,
_
:=
jwt
.
GenerateToken
(
4522
,
"bd572e747832490189f1604742a09225
"
,
"hiloApi"
)
token
,
_
:=
jwt
.
GenerateToken
(
2781
,
"6373ff5c318c4057886a669b5c9b5301
"
,
"hiloApi"
)
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