Commit d320a554 by 王昆

gsb

parent 3fb348dd
......@@ -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() {
}
}
......
......@@ -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
......@@ -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,
......
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