乡村相册登录适应

This commit is contained in:
aixianling
2022-05-31 09:55:33 +08:00
parent df834df92e
commit d395bd4085
4 changed files with 22 additions and 7 deletions

View File

@@ -179,9 +179,11 @@ const store = new Vuex.Store({
return encrypted.toString();
}
}
let {module} = params
return new Promise((resolve, reject) => {
http.post("/auth/oauth/token", null, {
withoutToken: true,
module,
params: {
...params, grant_type: 'password',
password: encryptByDES(params.password)