Commit b6cf0b7e by 孙亚楠

dd

parent 6fb8979b
......@@ -90,7 +90,11 @@ module.exports = function(sequelize, DataTypes) {
allowNull: true
},
contract_url: {
type: DataTypes.STRING(30),
type: DataTypes.STRING(300),
allowNull: true
},
business_license: {
type: DataTypes.STRING(300),
allowNull: true
}
}, {
......
......@@ -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`,`contract_url`];
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`,`business_license`];
var page = await this.getPageList(currentPage, pageSize, where, orderby, attributes);
if (page && page.rows) {
for (var row of page.rows) {
......
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