Showing
1 changed file
with
1 additions
and
0 deletions
@@ -118,6 +118,7 @@ module.exports={ | @@ -118,6 +118,7 @@ module.exports={ | ||
118 | if (!error4) { | 118 | if (!error4) { |
119 | var cookie = httpResponse4.caseless.dict["set-cookie"]; | 119 | var cookie = httpResponse4.caseless.dict["set-cookie"]; |
120 | if (cookie && cookie.length > 0) { | 120 | if (cookie && cookie.length > 0) { |
121 | + console.log("登录成功!"); | ||
121 | req.session.gray = cookie[0]; | 122 | req.session.gray = cookie[0]; |
122 | } | 123 | } |
123 | result = { code: 200, message: "登录成功" } | 124 | result = { code: 200, message: "登录成功" } |
-
Please register or login to post a comment