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
31cc2683
Commit
31cc2683
authored
Mar 20, 2019
by
何娜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
03f367ef
Pipeline
#4764
passed with stage
in 8 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
order.js
app/controller/order.js
+1
-1
notifyUrl.js
app/schedule/notifyUrl.js
+1
-1
config.local.js
config/config.local.js
+1
-1
No files found.
app/controller/order.js
View file @
31cc2683
...
...
@@ -90,7 +90,7 @@ class OrderController extends Controller {
orderId
,
taskId
,
cityId
,
//
notifyUrl: ctx.app.notifyMap.get(appKey) && ctx.app.notifyMap.get(appKey).notifyUrl || '',
notifyUrl
:
ctx
.
app
.
notifyMap
.
get
(
appKey
)
&&
ctx
.
app
.
notifyMap
.
get
(
appKey
).
notifyUrl
||
''
,
appkey
:
appKey
,
status
:
'init'
,
text1
:
channelType
,
...
...
app/schedule/notifyUrl.js
View file @
31cc2683
...
...
@@ -20,7 +20,7 @@ module.exports = {
gzip
:
true
});
ctx
.
logger
.
info
(
'notifyUrlCode'
,
JSON
.
stringify
(
ret
.
data
.
code
));
if
(
ret
.
data
.
code
===
'0'
)
{
if
(
ret
.
data
.
code
===
0
)
{
ret
.
data
.
data
.
customerList
.
map
(
customer
=>
{
if
(
'callBackUrl'
in
customer
)
{
notifyMap
.
set
(
customer
.
appKey
,
{
notifyUrl
:
customer
.
callBackUrl
});
...
...
config/config.local.js
View file @
31cc2683
...
...
@@ -98,7 +98,7 @@ module.exports = () => {
// appSecret: '0BDD1ECC147503C477563E5C1438C366D70E4F80',
// };
config
.
callbackUrl
=
'https://dev-nginx.jianbing.com/tax
h5
/callback'
;
config
.
callbackUrl
=
'https://dev-nginx.jianbing.com/tax
_api
/callback'
;
return
config
;
};
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