Commit 6fb8979b by 孙亚楠

dd

parent 7b70c9cd
......@@ -88,6 +88,10 @@ module.exports = function(sequelize, DataTypes) {
redundance_4: {
type: DataTypes.STRING(255),
allowNull: true
},
contract_url: {
type: DataTypes.STRING(30),
allowNull: true
}
}, {
tableName: 'merchant_info'
......
......@@ -35,7 +35,7 @@ class MerchantService extends ServiceBase {
var orderby = [
["id", 'desc']
];
var attributes = [`id`, `company_name`, `type`, `link_man`, `link_no`, `link_email`, `bank_account_name`, `bank_no`, `open_bank`, `sign_body`, `begin_time`, `invalid_time`];
var attributes = [`id`, `company_name`, `type`, `link_man`, `link_no`, `link_email`, `bank_account_name`, `bank_no`, `open_bank`, `sign_body`, `begin_time`, `invalid_time`,`contract_url`];
var page = await this.getPageList(currentPage, pageSize, where, orderby, attributes);
if (page && page.rows) {
for (var row of page.rows) {
......
......@@ -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,s
......
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