Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
ae30f77d
Commit
ae30f77d
authored
Aug 27, 2020
by
王勇飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gyq
parent
214712b2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
1 deletions
+47
-1
tx-fi-tax/app/base/controller/impl/bizchance/deliverybillCtl.js
+2
-0
tx-fi-tax/app/base/system.js
+44
-0
tx-fi-tax/app/config/settings.js
+1
-1
No files found.
tx-fi-tax/app/base/controller/impl/bizchance/deliverybillCtl.js
View file @
ae30f77d
...
...
@@ -267,6 +267,8 @@ class DeliverybillCtl extends CtlBase {
}
}
//根据bizId查询deliverybill表中的所有信息
async
getInfo
(
pobj
,
qobj
,
req
)
{
try
{
...
...
tx-fi-tax/app/base/system.js
View file @
ae30f77d
...
...
@@ -373,6 +373,50 @@ class System {
return
false
;
}
static
queueOper
(
obj
)
{
if
(
obj
.
pushUrl
&&
obj
.
actionType
&&
obj
.
messageBody
)
{
try
{
var
exec
=
this
.
getObject
(
"util.execClient"
);
var
reqUrl
=
settings
.
queueUrl
;
var
param
=
{
actionType
:
"produceData"
,
actionBody
:
{
pushUrl
:
obj
.
pushUrl
,
actionType
:
obj
.
actionType
,
identifyCode
:
"book-manage"
,
messageBody
:
obj
.
messageBody
}
}
if
(
obj
.
notifyUrl
)
{
param
.
actionBody
.
notifyUrl
=
obj
.
notifyUrl
;
}
if
(
obj
.
headData
)
{
param
.
actionBody
.
headData
;
}
if
(
obj
.
requestId
)
{
param
.
requestId
=
obj
.
requestId
;
}
var
result
=
await
exec
.
execPost
(
param
,
reqUrl
);
var
j
=
JSON
.
parse
(
result
.
stdout
);
if
(
j
.
status
==
1
){
return
this
.
getResult
(
j
);
}
else
{
return
this
.
getResultError
(
"队列返回失败"
);
}
}
catch
(
error
)
{
return
this
.
getResultError
(
error
);
}
}
else
{
return
this
.
getResultError
(
"参数错误"
);
}
}
}
Date
.
prototype
.
Format
=
function
(
fmt
)
{
//author: meizz
var
o
=
{
...
...
tx-fi-tax/app/config/settings.js
View file @
ae30f77d
...
...
@@ -40,7 +40,7 @@ var settings = {
},
queueUrl
:
function
()
{
if
(
this
.
env
==
"localhost"
)
{
return
"http://192.168.1.
128
:4018/api/queueAction/producer/springBoard"
;
return
"http://192.168.1.
9
:4018/api/queueAction/producer/springBoard"
;
}
else
{
return
"http://sytxpublic-msgq-service/api/queueAction/producer/springBoard"
;
}
...
...
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