Commit 224d99df by zhaoxiqing

gsb

parent f364a599
...@@ -11,7 +11,7 @@ module.exports = (db, DataTypes) => { ...@@ -11,7 +11,7 @@ module.exports = (db, DataTypes) => {
contact_mobile: DataTypes.STRING, contact_mobile: DataTypes.STRING,
contact_email: DataTypes.STRING, contact_email: DataTypes.STRING,
contact_addr: DataTypes.STRING, contact_addr: DataTypes.STRING,
origin_merchant_name: DataTypes.STRING,
}, { }, {
paranoid: true, //假的删除 paranoid: true, //假的删除
underscored: true, underscored: true,
...@@ -53,4 +53,4 @@ module.exports = (db, DataTypes) => { ...@@ -53,4 +53,4 @@ module.exports = (db, DataTypes) => {
// } // }
] ]
}); });
} }
\ No newline at end of file
...@@ -31,6 +31,7 @@ class ChannelmerchantService extends ServiceBase { ...@@ -31,6 +31,7 @@ class ChannelmerchantService extends ServiceBase {
return system.getResult(null, "商户来源不存在"); return system.getResult(null, "商户来源不存在");
} }
mcht.origin_merchant_name = this.trim(params.origin_merchant_name);
mcht.merchant_name = this.trim(params.merchant_name); mcht.merchant_name = this.trim(params.merchant_name);
mcht.contact_man = this.trim(params.contact_man); mcht.contact_man = this.trim(params.contact_man);
mcht.contact_mobile = this.trim(params.contact_mobile); mcht.contact_mobile = this.trim(params.contact_mobile);
......
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