Authored by huangyi

修改api

... ... @@ -231,9 +231,6 @@ class ActWheelSurfModel extends global.yoho.BaseModel {
return await ActWheelSurfUser.findAll({include: [{
model: ActWheelSurfPrize,
as: 'ActWheelSurfPrize',
}, {
model: ActWheelSurfConf,
as: 'ActWheelSurfConf',
}],
where: obj
});
... ...
... ... @@ -28,5 +28,6 @@ Object.keys(db).forEach(modelName => {
});
db.sequelize = sequelize;
db.Sequelize = Sequelize;
module.exports = db;
... ...