Commit ea5f3f25 authored by 何娜's avatar 何娜

taxapi url优化

parent 38770e7d
Pipeline #7251 passed with stage
in 2 seconds
......@@ -121,7 +121,7 @@ class OrderController extends Controller {
//获取帮助配置接口
async help(){
const { ctx, service } = this;
const { cityId } = ctx.params;
const { cityId } = ctx.query;
const cityName = await await service.scripts.fetchScriptName(cityId);
const helpData = await service.scripts.fetchHelp(cityId);
if(helpData && helpData.length > 0){
......
......@@ -8,11 +8,11 @@ module.exports = app => {
const taxRouter = router.namespace(app.config.projectRootPath);
taxRouter.get('/getCity', controller.task.cityConfigs);// 获取城市基础配置项 老接口备用
taxRouter.get('/getCity', controller.task.cityConfigs);// 获取城市基础配置项
taxRouter.get('/getCityList', controller.script.partnerScripts);// 获取城市基础配置项 新接口
// taxRouter.get('/getCityList', controller.script.partnerScripts);// 获取城市基础配置项 新接口
taxRouter.get('/getorderSn', controller.order.fetchOrderId);// 合作方获取订单号
taxRouter.get('/getOrderSn', controller.order.fetchOrderId);// 合作方获取订单号
taxRouter.post('/getCode', controller.task.fetchCapture);// 获取验证码
......@@ -24,5 +24,5 @@ module.exports = app => {
taxRouter.post('/callback', controller.task.handleCallback); // 处理回调结果,不对外
taxRouter.get('/helpInfo/:cityId', controller.order.help);// 获取帮助信息
taxRouter.get('/helpInfo', controller.order.help);// 获取帮助信息
};
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