Commit 7b4bef87 authored by xcc's avatar xcc

token修改

parent fec5857d
......@@ -158,7 +158,12 @@
password: "QcoY2JE0yxDvOadKWeDHKmTXm2LFl1zEcBu0mzMy8UHnHCB5LRMJFG9oY3zfUii0ACIN6uSaHyltCyYk5v1SUs505dtWkq0P/+XRE/Lq6xGrcfAHjWjySU3cLhvjZw3lUB4KtuvJY8UaOrx4+v9+FFQ6CUr2Zh+oz2m4bljoZdE="
};
fetch('http://127.0.0.1:8180/stage-api/auth/login',
{method: 'POST',body: JSON.stringify(data)})
{method: 'POST',
headers: {
'Content-Type': 'application/json' // 指定发送的数据类型
},
body: JSON.stringify(data)
})
.then(response => response.json())
.then(data => {
// token
......
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