Skip to content

Commit

Permalink
[fix]bug
Browse files Browse the repository at this point in the history
  • Loading branch information
piupuer committed Oct 12, 2024
1 parent e881702 commit 82e91ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ const routes: IRouter[] = [
const allRoutes = [
...routes,
...dashboard,
...system,
...list,
...form,
...detail,
...result,
...system,
...user,
...login,
...otherRoutes,
Expand Down
8 changes: 4 additions & 4 deletions src/services/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import {
} from 'services/model/userModel';

const Api = {
UserLogin: '/auth/login',
UserCaptcha: '/auth/captcha',
UserStatus: '/auth/status',
UserLogin: '/auth/pub/login',
UserCaptcha: '/auth/pub/captcha',
UserStatus: '/auth/pub/status',
UserInfo: '/auth/info',
Register: '/auth/register',
Register: '/auth/pub/register',
FindUser: '/auth/user',
UpdateUser: '/auth/user',
DeleteUser: '/auth/user',
Expand Down

0 comments on commit 82e91ec

Please sign in to comment.