Commit d2d543b0 authored by hubaoshan's avatar hubaoshan

第一版

parent 9fd203ad
...@@ -13,7 +13,9 @@ export function login(username, password, code, uuid) { ...@@ -13,7 +13,9 @@ export function login(username, password, code, uuid) {
return request({ return request({
url: '/auth/login', url: '/auth/login',
method: 'post', method: 'post',
params: data, data: Qs.stringify({
sign: encrypt(data)
}),
headers: { headers: {
'Content-Type': 'application/x-www-form-urlencoded' 'Content-Type': 'application/x-www-form-urlencoded'
} }
......
...@@ -92,9 +92,8 @@ module.exports = { ...@@ -92,9 +92,8 @@ module.exports = {
// target: `http://192.168.1.41:8082/`, // target: `http://192.168.1.41:8082/`,
// target: `http://49.232.167.247:20014/`, // 线上 // target: `http://49.232.167.247:20014/`, // 线上
// target: `http://192.168.1.30:8082/`, // target: `http://192.168.1.30:8082/`,
// target: `http://192.168.0.3:8092/`, target: `http://192.168.0.3:8092/`,
target: `http://localhost:8089/`, // target: `http://localhost:8089/`,
// target: `http://49.232.167.247:20014/`, // target: `http://49.232.167.247:20014/`,
// changeOrigin: true, // changeOrigin: true,
pathRewrite: { pathRewrite: {
......
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