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

fix: update login interface

parent a372d36a
...@@ -8,14 +8,7 @@ export const login = param => ...@@ -8,14 +8,7 @@ export const login = param =>
get(`${CITY_SERVICE}/OMS.svc/L_GetCheckUser`, param); get(`${CITY_SERVICE}/OMS.svc/L_GetCheckUser`, param);
export const OMSLogin = (loginName, password) => export const OMSLogin = (loginName, password) =>
// post(`${PUBLISH_SERVICE}/api/OMSLogin`, { post(`${PUBLISH_SERVICE}/OMSLogin`, {
// loginName, UserName: loginName,
// password: sha(password), PassWord: sha(password).toUpperCase(),
// }); });
console.log(sha(password, {})) ||
post(
`${PUBLISH_SERVICE}/api/OMSLogin?${qs.stringify({
loginName,
password, // sha(password),
})}`,
);
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