Commit 8b716a4f authored by 张烨's avatar 张烨

fix: update login interface

parent a372d36a
......@@ -8,14 +8,7 @@ export const login = param =>
get(`${CITY_SERVICE}/OMS.svc/L_GetCheckUser`, param);
export const OMSLogin = (loginName, password) =>
// post(`${PUBLISH_SERVICE}/api/OMSLogin`, {
// loginName,
// password: sha(password),
// });
console.log(sha(password, {})) ||
post(
`${PUBLISH_SERVICE}/api/OMSLogin?${qs.stringify({
loginName,
password, // sha(password),
})}`,
);
post(`${PUBLISH_SERVICE}/OMSLogin`, {
UserName: loginName,
PassWord: sha(password).toUpperCase(),
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment