Commit 3596f2a4 authored by 谢永靖's avatar 谢永靖

token120

parent 0c4b7718
Pipeline #37136 passed with stage
in 4 seconds
...@@ -162,7 +162,7 @@ class ResponseController extends Controller { ...@@ -162,7 +162,7 @@ class ResponseController extends Controller {
ctx.validate(rule, input_params); ctx.validate(rule, input_params);
const token = ctx.helper.getUuid(); const token = ctx.helper.getUuid();
await app.memcache.set(`${app.name}/${app.config.env}/${input_params.user_sid}`, token, 60); await app.memcache.set(`${app.name}/${app.config.env}/${input_params.user_sid}`, token, 120);
ctx.success(token); ctx.success(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