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
eb660546
Commit
eb660546
authored
Aug 27, 2020
by
Sxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: bug
parent
8f12e877
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
30 deletions
+3
-30
tx-fi-tax/app/base/controller/impl/bizchance/deliverybillCtl.js
+0
-27
tx-fi-tax/app/base/system.js
+3
-3
No files found.
tx-fi-tax/app/base/controller/impl/bizchance/deliverybillCtl.js
View file @
eb660546
...
@@ -8,7 +8,6 @@ const moment = require('moment');
...
@@ -8,7 +8,6 @@ const moment = require('moment');
const
System
=
require
(
"../../../system"
);
const
System
=
require
(
"../../../system"
);
const
toFtClient
=
require
(
"../../../utils/toFtClient"
);
const
toFtClient
=
require
(
"../../../utils/toFtClient"
);
const
appconfig
=
system
.
getSysConfig
();
const
appconfig
=
system
.
getSysConfig
();
const
sha235
=
require
(
"sha256"
);
const
{
getResult
}
=
require
(
"../../../system"
);
const
{
getResult
}
=
require
(
"../../../system"
);
class
DeliverybillCtl
extends
CtlBase
{
class
DeliverybillCtl
extends
CtlBase
{
constructor
()
{
constructor
()
{
...
@@ -367,28 +366,3 @@ class DeliverybillCtl extends CtlBase {
...
@@ -367,28 +366,3 @@ class DeliverybillCtl extends CtlBase {
}
}
module
.
exports
=
DeliverybillCtl
;
module
.
exports
=
DeliverybillCtl
;
\ No newline at end of file
var
task
=
new
DeliverybillCtl
();
var
obj
=
{
"requestId"
:
"1111111"
,
"bizId"
:
2592748677
,
"status"
:
"inservice"
,
"serviceStartTime"
:
"today"
,
"serviceEndTime"
:
"tomorrow"
,
}
task
.
notifyServiceStatusChange
({
actionBody
:
obj
},
{},
{}).
then
(
d
=>
{
console
.
log
(
JSON
.
stringify
(
d
));
})
// (async () => {
// var task = new DeliverybillCtl();
// var obj = {
// "deliverId":"1111111",
// "company1": "华为技术有限公司",
// "company2": "中兴通讯股份有限公司",
// "keyword1":"用户设备,通信领域,通信技术,设备发送,指示信息,通信系统,通信方法,设备接收,对应关系,基站发送,终端发送,用户体验,配置信息,请求消息,数据传输方法,用户终端,网络侧,移动终端,通信设备,传输方法",
// "keyword2":"用户体验,移动终端,用户设备,相关技术,网络侧,终端发送,用户终端,配置信息,指示信息,请求消息,对应关系,传输方法,基站发送,通信系统,数据传输方法,通信领域,通信技术,设备发送,响应消息,发送方法"
// };
// var d = await task.deliverInfo(obj,{},{})
// console.log("dddddd---------" + JSON.stringify(d));
// })()
tx-fi-tax/app/base/system.js
View file @
eb660546
...
@@ -377,7 +377,7 @@ class System {
...
@@ -377,7 +377,7 @@ class System {
headData json 请求头信息
headData json 请求头信息
requestId string 请求id
requestId string 请求id
*/
*/
static
queueOper
(
obj
)
{
static
async
queueOper
(
obj
)
{
if
(
obj
.
pushUrl
&&
obj
.
actionType
&&
obj
.
messageBody
)
{
if
(
obj
.
pushUrl
&&
obj
.
actionType
&&
obj
.
messageBody
)
{
try
{
try
{
var
exec
=
this
.
getObject
(
"util.execClient"
);
var
exec
=
this
.
getObject
(
"util.execClient"
);
...
@@ -403,10 +403,10 @@ class System {
...
@@ -403,10 +403,10 @@ class System {
var
result
=
await
exec
.
execPost
(
param
,
reqUrl
);
var
result
=
await
exec
.
execPost
(
param
,
reqUrl
);
var
j
=
JSON
.
parse
(
result
.
stdout
);
var
j
=
JSON
.
parse
(
result
.
stdout
);
if
(
j
.
status
==
1
){
if
(
j
.
status
==
1
)
{
return
this
.
getResult
(
j
);
return
this
.
getResult
(
j
);
}
}
else
{
else
{
return
this
.
getResultError
(
"队列返回失败"
);
return
this
.
getResultError
(
"队列返回失败"
);
}
}
...
...
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