Commit a799bf18 by 王勇飞

gyq

parent 465f4b64
......@@ -609,10 +609,34 @@ class TxHandler {
//融易算报表确认
async ConfirmReport(datajson){
var messageBody = datajson;
messageBody.dataType = "2";
messageBody.rysCheck = "1";
messageBody.checkDate = moment(Date.now()).format("YYYY-MM-DD");
var obj = {
"pushUrl": this.bookUrl + "/deliverybillCtl/",
"actionType": "insertInfo",
"messageBody": datajson,
"pushUrl": this.bookUrl + "/fitaxpushqueueCtl/updateInfo",
"actionType": "updateInfo",
"messageBody": messageBody,
//"requestId":datajson.requestId,
"headData": {
'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTg0MzQ2ODcsImlzcyI6InJFRVN6TU5ZUlM2RnBWNnZlY09vdExPNWdPcUNXSmFQIiwiaWF0IjoxNTk4NDMxMDg3fQ.isQ40HqHHfJ-rTsUQOhRIdu4XCitZU-AfzeqSH4kPbQ',
'XAPPKEY': 'f6b59b74-f943-4735-bb86-e05d6b7fd78e'
}
}
return systetm.rysQueueOper(obj);
}
//融易算报税确认
async ConfirmTax(datajson){
var messageBody = datajson;
messageBody.dataType = "3";
messageBody.rysCheck = "1";
messageBody.checkDate = moment(Date.now()).format("YYYY-MM-DD");
var obj = {
"pushUrl": this.bookUrl + "/fitaxpushqueueCtl/updateInfo",
"actionType": "updateInfo",
"messageBody": messageBody,
//"requestId":datajson.requestId,
"headData": {
'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTg0MzQ2ODcsImlzcyI6InJFRVN6TU5ZUlM2RnBWNnZlY09vdExPNWdPcUNXSmFQIiwiaWF0IjoxNTk4NDMxMDg3fQ.isQ40HqHHfJ-rTsUQOhRIdu4XCitZU-AfzeqSH4kPbQ',
......@@ -621,7 +645,22 @@ class TxHandler {
}
return systetm.rysQueueOper(obj);
}
//融易算接收票据快递单号
async ReceivePaperPost(datajson){
var obj = {
"pushUrl": this.bookUrl + "/deliverybillCtl/receivePaperPost",
"actionType": "receivePaperPost",
"messageBody": datajson,
//"requestId":datajson.requestId,
"headData": {
'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTg0MzQ2ODcsImlzcyI6InJFRVN6TU5ZUlM2RnBWNnZlY09vdExPNWdPcUNXSmFQIiwiaWF0IjoxNTk4NDMxMDg3fQ.isQ40HqHHfJ-rTsUQOhRIdu4XCitZU-AfzeqSH4kPbQ',
'XAPPKEY': 'f6b59b74-f943-4735-bb86-e05d6b7fd78e'
}
}
return systetm.rysQueueOper(obj);
}
......
......@@ -380,7 +380,7 @@ class System {
try {
var rc = this.getObject("util.execClient");
var reqUrl = settings.queueUrl;
var reqId = uuidv4()
var reqId = uuidv4();
var param = {
actionType: "produceData",
actionBody: {
......
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