|
@@ -7,7 +7,8 @@ import request from "@/utils/request.js";
|
|
|
*
|
|
|
*/
|
|
|
export function getLoginAccount(data) {
|
|
|
- return request.post('/v1/login_account',data,{
|
|
|
+ let url = "username="+data.username+"&password="+data.password
|
|
|
+ return request.post('/v1/login_account?'+url,null,{
|
|
|
noAuth: true
|
|
|
});
|
|
|
}
|
|
@@ -17,7 +18,7 @@ export function getLoginAccount(data) {
|
|
|
*
|
|
|
*/
|
|
|
export function getUserInfo() {
|
|
|
- return request.get('mock/user');
|
|
|
+ return request.get('v1/userApp-detailById');
|
|
|
}
|
|
|
|
|
|
/**
|