Commit d4bae48c by 宋毅

新加字段

parent 283413fc
...@@ -31,7 +31,9 @@ class ProductDao extends Dao { ...@@ -31,7 +31,9 @@ class ProductDao extends Dao {
"pay_after_jump_pcurl", "pay_after_jump_pcurl",
"productType_id", "productType_id",
"pc_pic_url", "pc_pic_url",
"pc_desc_url" "pc_desc_url",
"push_channel_interface_path",
"push_channel_interface_method"
], ],
raw: true raw: true
}); });
......
...@@ -27,6 +27,8 @@ module.exports = (db, DataTypes) => { ...@@ -27,6 +27,8 @@ module.exports = (db, DataTypes) => {
}, },
sort: DataTypes.INTEGER, //排序 sort: DataTypes.INTEGER, //排序
is_package: DataTypes.INTEGER, //是否是套餐,0否,1是 is_package: DataTypes.INTEGER, //是否是套餐,0否,1是
push_channel_interface_path: DataTypes.STRING(1024),
push_channel_interface_method: DataTypes.STRING(512),
}, { }, {
paranoid: false,//假的删除 paranoid: false,//假的删除
underscored: true, underscored: true,
......
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