Authored by huangyi

修改api

@@ -231,9 +231,6 @@ class ActWheelSurfModel extends global.yoho.BaseModel { @@ -231,9 +231,6 @@ class ActWheelSurfModel extends global.yoho.BaseModel {
231 return await ActWheelSurfUser.findAll({include: [{ 231 return await ActWheelSurfUser.findAll({include: [{
232 model: ActWheelSurfPrize, 232 model: ActWheelSurfPrize,
233 as: 'ActWheelSurfPrize', 233 as: 'ActWheelSurfPrize',
234 - }, {  
235 - model: ActWheelSurfConf,  
236 - as: 'ActWheelSurfConf',  
237 }], 234 }],
238 where: obj 235 where: obj
239 }); 236 });
@@ -28,5 +28,6 @@ Object.keys(db).forEach(modelName => { @@ -28,5 +28,6 @@ Object.keys(db).forEach(modelName => {
28 }); 28 });
29 29
30 db.sequelize = sequelize; 30 db.sequelize = sequelize;
  31 +db.Sequelize = Sequelize;
31 32
32 module.exports = db; 33 module.exports = db;