1 changed files with 2 additions and 2 deletions
@ -1,5 +1,5 @@ |
|||||
import post, {SERVER_API} from "@/api/base.js"; |
|
||||
|
import post, {put, SERVER_API} from "@/api/base.js"; |
||||
|
|
||||
export const loginReq = data => post(`${SERVER_API}/login`, data) |
export const loginReq = data => post(`${SERVER_API}/login`, data) |
||||
|
|
||||
export const changePwdReq = data => post(`${SERVER_API}/system/user/password`, data) |
|
||||
|
export const changePwdReq = data => put(`${SERVER_API}/system/user/password`, data) |
||||
|
Loading…
Reference in new issue