Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
haoban3.0
haoban-manage3.0
Commits
a53db698
Commit
a53db698
authored
Jul 03, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/xgh/202506迭代' into 'developer'
刷新自建token See merge request
!3049
parents
9746098a
65559e3e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
token.html
...n-manage3-operation-web/src/main/webapp/static/token.html
+16
-0
No files found.
haoban-manage3-operation-web/src/main/webapp/static/token.html
View file @
a53db698
...
@@ -158,6 +158,21 @@ function corpidToken() {
...
@@ -158,6 +158,21 @@ function corpidToken() {
});
});
}
}
function
corpidTokenSelf
()
{
var
corpids
=
$
(
"#corpids"
).
val
()
;
if
(
!
corpids
||
corpids
.
indexOf
(
"#"
)
==-
1
)
{
alert
(
"请输入corpid#secret"
)
;
return
;
}
$
.
ajax
({
type
:
"post"
,
url
:
host
+
'/gic/weixin3th/qywx-token/reflush-token?tokenType=4&corpid='
+
corpids
.
split
(
"#"
)[
0
]
+
"&suiteId="
+
corpids
.
split
(
"#"
)[
1
]
,
success
:
function
(
retData
)
{
alert
(
"已刷新"
)
}
});
}
function
suiteToken
()
{
function
suiteToken
()
{
$
.
ajax
({
$
.
ajax
({
type
:
"post"
,
type
:
"post"
,
...
@@ -183,6 +198,7 @@ function provideToken() {
...
@@ -183,6 +198,7 @@ function provideToken() {
<body>
<body>
<div
class=
"container"
id=
"couponDiv"
>
<div
class=
"container"
id=
"couponDiv"
>
<div
class=
"tab-pane"
id=
"tab2"
style=
"padding:5px"
>
<div
class=
"tab-pane"
id=
"tab2"
style=
"padding:5px"
>
<button
onclick=
"corpidTokenSelf()"
>
自建应用token强刷(access-token)
</button>
<button
onclick=
"corpidToken()"
>
企业应用token(access-token)
</button>
<button
onclick=
"corpidToken()"
>
企业应用token(access-token)
</button>
<button
onclick=
"suiteToken()"
>
好办应用token(suite-access-token)
</button>
<button
onclick=
"suiteToken()"
>
好办应用token(suite-access-token)
</button>
<button
onclick=
"provideToken()"
>
服务商token
</button>
<button
onclick=
"provideToken()"
>
服务商token
</button>
...
...
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