Skip to content

Commit 82e91ec

Browse files
committed
[fix]bug
1 parent e881702 commit 82e91ec

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/router/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ const routes: IRouter[] = [
5454
const allRoutes = [
5555
...routes,
5656
...dashboard,
57+
...system,
5758
...list,
5859
...form,
5960
...detail,
6061
...result,
61-
...system,
6262
...user,
6363
...login,
6464
...otherRoutes,

src/services/user.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import {
88
} from 'services/model/userModel';
99

1010
const Api = {
11-
UserLogin: '/auth/login',
12-
UserCaptcha: '/auth/captcha',
13-
UserStatus: '/auth/status',
11+
UserLogin: '/auth/pub/login',
12+
UserCaptcha: '/auth/pub/captcha',
13+
UserStatus: '/auth/pub/status',
1414
UserInfo: '/auth/info',
15-
Register: '/auth/register',
15+
Register: '/auth/pub/register',
1616
FindUser: '/auth/user',
1717
UpdateUser: '/auth/user',
1818
DeleteUser: '/auth/user',

0 commit comments

Comments
 (0)