账号调整

This commit is contained in:
qweasdzxclm 2026-01-21 16:22:57 +08:00
parent a78808ffa5
commit 6a023b5aa7
2 changed files with 4 additions and 4 deletions

View File

@ -77,8 +77,8 @@ const getAuthToken = async (): Promise<string> => {
const tokenData = await createAccessToken( const tokenData = await createAccessToken(
{ {
grant_type: 'password', grant_type: 'password',
username: 'andp', username: 'admin',
password: 'an123', password: 'admin123',
scope: 'prison:ai-dash-entry:query' scope: 'prison:ai-dash-entry:query'
}, },
1, // 租户ID 1, // 租户ID

View File

@ -20,8 +20,8 @@ const getAuthToken = async (): Promise<string> => {
const tokenData = await createAccessToken( const tokenData = await createAccessToken(
{ {
grant_type: 'password', grant_type: 'password',
username: 'andp', username: 'admin',
password: 'an123', password: 'admin123',
scope: 'prison:ai-dash-entry:query' scope: 'prison:ai-dash-entry:query'
}, },
1, // 租户ID 1, // 租户ID