Commit 58c79848 authored by 姜登's avatar 姜登

gjj

parent abc79f04
Pipeline #4395 passed with stage
in 7 seconds
......@@ -170,10 +170,8 @@ class TaskController extends Controller {
try {
ctx.validate(this.cityListRule);
await service.signature.signatureCheck(ctx.request.body);
ctx.body = {
code: 0,
data: ctx.app.cityList
};
const result = await service.scripts.getCityList();
ctx.body = result;
return;
} catch (err) {
ctx.status = 200;
......
......@@ -180,6 +180,10 @@ class ScriptsService extends Service {
return '未知';
}
}
async getCityList(){
}
}
module.exports = ScriptsService;
......@@ -89,10 +89,6 @@ class TaskService extends Service {
return result.data;
}
async getCityList(){
}
}
module.exports = TaskService;
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