Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tax_api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data_server
tax_api
Commits
ea5f3f25
Commit
ea5f3f25
authored
May 09, 2019
by
何娜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taxapi url优化
parent
38770e7d
Pipeline
#7251
passed with stage
in 2 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
order.js
app/controller/order.js
+1
-1
router.js
app/router.js
+4
-4
No files found.
app/controller/order.js
View file @
ea5f3f25
...
...
@@ -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
){
...
...
app/router.js
View file @
ea5f3f25
...
...
@@ -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
(
'/get
o
rderSn'
,
controller
.
order
.
fetchOrderId
);
// 合作方获取订单号
taxRouter
.
get
(
'/get
O
rderSn'
,
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
);
// 获取帮助信息
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment