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
9f22895e
Commit
9f22895e
authored
Dec 26, 2019
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
2874a4ca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
8 deletions
+2
-8
fi-taxctl/app/base/db/impl/common/connection.js
+0
-1
fi-taxctl/app/base/db/metadata/apps/platform.js
+1
-1
fi-taxctl/app/base/utils/restClient.js
+1
-6
No files found.
fi-taxctl/app/base/db/impl/common/connection.js
View file @
9f22895e
...
...
@@ -6,7 +6,6 @@ var glob = require("glob");
class
DbFactory
{
constructor
(){
const
dbConfig
=
settings
.
database
();
const
dbConfighb
=
settings
.
databasehb
();
this
.
db
=
new
Sequelize
(
dbConfig
.
dbname
,
dbConfig
.
user
,
dbConfig
.
password
,
...
...
fi-taxctl/app/base/db/metadata/apps/platform.js
View file @
9f22895e
module
.
exports
=
{
"appid"
:
"
219933cb198246f7951bdfe6fadd694e
"
,
"appid"
:
"
72349770a73d43d1b519866721ff8107
"
,
"label"
:
"财税风控"
,
"config"
:
{
"rstree"
:
{
...
...
fi-taxctl/app/base/utils/restClient.js
View file @
9f22895e
...
...
@@ -12,12 +12,7 @@ class RestClient{
this
.
cmdDownLoadFilePattern
=
"curl -G -o {fileName} {url}"
;
this
.
cmdPostPattern2
=
"curl -k -H 'Content-type: application/x-www-form-urlencoded' -d '{data}' {url}"
;
//云帐户
this
.
cmdPostPattern3
=
"curl -k -H 'Content-type: application/x-www-form-urlencoded' -H 'dealer-id:"
+
settings
.
apiconfig
.
yunzhanghuDealer_id
()
+
"' -H 'request-id:"
+
parseInt
(
Date
.
now
()
/
1000
)
+
"_gsb"
+
"' -d '{data}' {url}"
;
this
.
cmdGetPattern3
=
"curl {-G} -k {url} --header 'dealer-id:"
+
settings
.
apiconfig
.
yunzhanghuDealer_id
()
+
"'"
;
//e签宝
this
.
cmdPostPattern4
=
"curl -k -H 'Content-type: application/json' -H 'X-Tsign-Open-App-Id:"
+
settings
.
apiconfig
.
eSignBaoAppId
()
+
"' -H 'X-Tsign-Open-App-Secret:"
+
settings
.
apiconfig
.
eSignBaoAppKey
()
+
"' -d '{data}' {url}"
;
// form-data形式post data参数类型 md5=2&data=1
this
.
cmdPostPattern5
=
"curl -k --data '{data}' {url}"
;
...
...
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