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
d320a554
Commit
d320a554
authored
Apr 19, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
3fb348dd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
76 additions
and
16 deletions
+76
-16
bpo-stat/app/base/controller/impl/all/merchantCtl.js
+6
-7
bpo-stat/app/base/service/impl/all/merchantSve.js
+61
-0
bpo-stat/app/config/localsettings.js
+9
-9
No files found.
bpo-stat/app/base/controller/impl/all/merchantCtl.js
View file @
d320a554
...
...
@@ -166,13 +166,8 @@ class MerchantCtl extends CtlBase {
var
contractUrl
=
"https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_7711157622797891420191317618914兰和-开封.pdf"
;
if
(
qobj
.
sign_body
!=
"舟山兰和科技有限公司"
)
{
for
(
var
item
of
obj
)
{
item
.
value
=
""
;
}
for
(
var
item1
of
obj1
)
{
item1
.
value
=
""
;
}
contractUrl
=
""
;
let
config
=
await
this
.
service
.
getConfig
(
qobj
.
sign_body
);
return
system
.
getResultSuccess
(
config
);
}
var
rs
=
{};
rs
.
obj
=
obj
;
...
...
@@ -180,6 +175,10 @@ class MerchantCtl extends CtlBase {
rs
.
contractUrl
=
contractUrl
;
return
system
.
getResultSuccess
(
rs
);
}
async
getMcht
()
{
}
}
...
...
bpo-stat/app/base/service/impl/all/merchantSve.js
View file @
d320a554
...
...
@@ -384,6 +384,66 @@ class MerchantService extends ServiceBase {
return
result
;
}
mainConfig
()
{
return
{
"山东鑫云业服网络科技有限公司"
:
{
"obj"
:
[
{
"label"
:
"服务商名称:"
,
"value"
:
"山东鑫云业服网络科技有限公司"
},
{
"label"
:
"联系人姓名:"
,
"value"
:
"吴海燕"
},
{
"label"
:
"联系人手机:"
,
"value"
:
"18530106181"
},
{
"label"
:
"联系地址:"
,
"value"
:
"山东省淄博市高青县田镇街道高苑路82号"
},
{
"label"
:
"开户行:"
,
"value"
:
"中国农业银行股份有限公司淄博文化路支行"
},
{
"label"
:
"对公账户:"
,
"value"
:
"15245601040004855"
}
],
"obj1"
:
[
{
"label"
:
"合作方:"
,
"value"
:
""
},
{
"label"
:
"合作方地址:"
,
"value"
:
""
},
{
"label"
:
"合作方开户行:"
,
"value"
:
""
},
{
"label"
:
"合作方对公账户:"
,
"value"
:
""
},
{
"label"
:
"签约合同:"
,
"value"
:
""
}
],
"contractUrl"
:
""
}
}
}
async
getConfig
(
sign_body
)
{
return
this
.
mainConfig
()[
sign_body
]
||
{};
}
}
module
.
exports
=
MerchantService
;
\ No newline at end of file
bpo-stat/app/config/localsettings.js
View file @
d320a554
...
...
@@ -6,16 +6,16 @@ var settings={
db
:
10
,
},
database
:{
// dbname : "stat",
// user: "root",
// password: "!@#Qaz741",
// config: {
// host: 'rm-2ze5muw8tb37i3ig4lo.mysql.rds.aliyuncs.com',
dbname
:
"bpo_stat"
,
user
:
"write"
,
password
:
"write"
,
dbname
:
"stat"
,
user
:
"root"
,
password
:
"!@#Qaz741"
,
config
:
{
host
:
'192.168.18.237'
,
host
:
'rm-2ze5muw8tb37i3ig4lo.mysql.rds.aliyuncs.com'
,
// dbname : "bpo_stat",
// user: "write",
// password: "write",
// config: {
// host: '192.168.18.237',
port
:
3306
,
// host: '43.247.184.35',
// port: 8899,
...
...
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