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
f63a4970
Commit
f63a4970
authored
Feb 21, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
72a02ae5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletions
+23
-1
fi-taxctl/app/base/service/impl/rpt/rpttypeSve.js
+23
-1
No files found.
fi-taxctl/app/base/service/impl/rpt/rpttypeSve.js
View file @
f63a4970
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../sve.base"
)
const
settings
=
require
(
"../../../../config/settings"
)
var
request
=
require
(
'request'
);
var
md5
=
require
(
"md5"
)
class
RptTypeService
extends
ServiceBase
{
constructor
(){
...
...
@@ -238,7 +239,22 @@ class RptTypeService extends ServiceBase{
"fi"
:
arrayfi
,
"ri"
:
tmp
,
}
var
rptdata
=
await
this
.
apiCallWithoutAk
(
"http://fkrptresult-service/gsb/api/report2"
,
paramto
);
request
({
url
:
"http://fkrptresult-service/gsb/api/report2"
,
method
:
"POST"
,
json
:
true
,
headers
:
{
"content-type"
:
"application/json"
,
},
body
:
JSON
.
stringify
(
paramto
)
},
function
(
error
,
response
,
body
)
{
console
.
log
(
body
);
if
(
!
error
&&
response
.
statusCode
==
200
)
{
console
.
log
(
"dddddddddddddddd"
);
}
});
// var rptdata=await this.apiCallWithoutAk("http://fkrptresult-service/gsb/api/report2",paramto);
//修改
return
{};
}
...
...
@@ -317,3 +333,8 @@ class RptTypeService extends ServiceBase{
}
module
.
exports
=
RptTypeService
;
// (async()=>{
// var x=new RptTypeService();
// var m =await x.buildWordReport(234);
// console.log(m);
// })()
\ No newline at end of file
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