Commit 9c2f6b7b by lixinming

no message

parent dd66583d
...@@ -12,7 +12,7 @@ export async function checkToken(req, res) { ...@@ -12,7 +12,7 @@ export async function checkToken(req, res) {
//使用Redis将用户信息存入缓存 //使用Redis将用户信息存入缓存
client.on('connect', function() { client.on('connect', function() {
client.set(userInfo) // client.set(userInfo)
}) })
} }
...@@ -28,5 +28,5 @@ export async function getList(req, res) { ...@@ -28,5 +28,5 @@ export async function getList(req, res) {
//搜索框 //搜索框
export async function searchByName(req, res) { export async function searchByName(req, res) {
let {name, tel} = req.body; let {name, tel} = req.body;
let userInfo = await get(getUrl()) // let userInfo = await get(getUrl())
} }
\ No newline at end of file
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