Commit b995c5ad authored by 姜登's avatar 姜登

gjj

parent 81b6c131
Pipeline #6151 passed with stage
in 3 seconds
...@@ -56,7 +56,7 @@ class TaskController extends Controller { ...@@ -56,7 +56,7 @@ class TaskController extends Controller {
const { taskId } = ctx.params; const { taskId } = ctx.params;
await service.cache.set({ await service.cache.set({
key: taskId, key: taskId,
value: { status: 'init', note: { message: 'init' } }, value: { status: 'login', note: { message: 'login' } },
}); });
await service.task.submit({ await service.task.submit({
taskId, taskId,
...@@ -169,7 +169,7 @@ class TaskController extends Controller { ...@@ -169,7 +169,7 @@ class TaskController extends Controller {
const { ctx, service } = this; const { ctx, service } = this;
try { try {
ctx.validate(this.cityListRule); ctx.validate(this.cityListRule);
// await service.signature.signatureCheck(ctx.request.body); await service.signature.signatureCheck(ctx.request.body);
const result = await service.scripts.getCityList(ctx.request.body); const result = await service.scripts.getCityList(ctx.request.body);
ctx.body = result; ctx.body = result;
return; return;
......
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