Commit 64fbe5a4 authored by 陈前坚's avatar 陈前坚

perf: 运维登录系统类型CivManager

parent 287c5901
......@@ -38,7 +38,7 @@ const Login = props => {
console.log(values); // eg:{userName: "123", password: "123"}
const { userName: loginName, password } = values;
setLoading(true);
OMSLogin(loginName, password)
OMSLogin(loginName, password, 'CivManager')
.then(result => {
const {
data: { pass, userMode, token },
......
......@@ -6,5 +6,5 @@ export const getUserInfo = param => get('/cityinterface/getUserinfo', param);
export const login = param =>
get(`${CITY_SERVICE}/OMS.svc/L_GetCheckUser`, param);
export const OMSLogin = (userName, password) =>
postForm(`${PUBLISH_SERVICE}/OMSLogin`, { userName, password });
export const OMSLogin = (userName, password, systemType) =>
postForm(`${PUBLISH_SERVICE}/OMSLogin`, { userName, password, systemType });
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