Commit 9a53a89a authored by 何娜's avatar 何娜

Update task.js

parent 99317713
Pipeline #4475 passed with stage
in 2 seconds
......@@ -54,7 +54,7 @@ class TaskController extends Controller {
const {ctx, service} = this;
ctx.validate(this.createRule);
const {scriptId, orderId, userId} = ctx.request.body;
ctx.logger.info(typeof (ctx.app.cityTypeLists), 'cityTypeLists', ctx.app.cityTypeLists.length)
ctx.logger.info(typeof (ctx.app.cityTypeLists), 'cityTypeLists', ctx.app.cityTypeLists)
for(let item of ctx.app.cityTypeLists){
if(item.id === scriptId){
ctx.app.channelType = item.type;
......
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