Commit 03f09f5f by zhaoxiqing

gsb

parent 3edcab1d
const system = require("../../system");
const Dao = require("../dao.base");
class pushfqlogDao extends Dao {
constructor() {
super(Dao.getModelName(pushfqlogDao));
}
}
module.exports = pushfqlogDao;
const system=require("../../system");
const settings=require("../../../config/settings");
const uiconfig=system.getUiConfig2(settings.wxconfig.appId);
module.exports = (db, DataTypes) => {
return db.define("pushfqlog", {
data_id:DataTypes.STRING,
channel_id:DataTypes.STRING,
channel_merchant_id:DataTypes.STRING,
platform_channel_id:DataTypes.STRING,
origin_merchant_id:DataTypes.STRING,
topush:DataTypes.STRING,
contractNo:DataTypes.STRING,
param:DataTypes.STRING,
errorMsg:DataTypes.STRING,
}, {
paranoid: true,//假的删除
underscored: true,
version: true,
freezeTableName: true,
//freezeTableName: true,
// define the table's name
tableName: 'c_pushfq_log',
validate: {},
indexes: [
// Create a unique index on email
// {
// unique: true,
// fields: ['email']
// },
//
// // Creates a gin index on data with the jsonb_path_ops operator
// {
// fields: ['data'],
// using: 'gin',
// operator: 'jsonb_path_ops'
// },
//
// // By default index name will be [table]_[fields]
// // Creates a multi column partial index
// {
// name: 'public_by_author',
// fields: ['author', 'status'],
// where: {
// status: 'public'
// }
// },
//
// // A BTREE index with a ordered field
// {
// name: 'title_index',
// method: 'BTREE',
// fields: ['author', {attribute: 'title', collate: 'en_US', order: 'DESC', length: 5}]
// }
]
});
}
const system = require("../../system");
const ServiceBase = require("../sve.base")
const settings = require("../../../config/settings")
class pushfqlogService extends ServiceBase {
constructor() {
super(ServiceBase.getDaoName(pushfqlogService));
}
}
module.exports = pushfqlogService;
......@@ -13,6 +13,7 @@
"MD5": "^1.3.0",
"after": "^0.8.2",
"ali-oss": "^4.12.2",
"aliyun-api-gateway": "^1.1.6",
"axios": "^0.19.2",
"babel-polyfill": "^6.26.0",
"base64id": "^1.0.0",
......
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