chenjun 2 years ago
parent
commit
1f541b4ae8
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/api/login.js

+ 4 - 1
src/api/login.js

@@ -26,7 +26,10 @@ export function login (params) {
         method: 'post',
         data: params,
         islogin: true,
-        msg: '登录'
+        msg: '登录',
+        headers:{
+          "LoginName":params.LoginName
+        }
     })
 }