...
|
...
|
@@ -388,8 +388,9 @@ class ActWheelSurfModelRedis extends global.yoho.BaseModel { |
|
|
oddPrizes = await mysqlCli.query(
|
|
|
`select u.id, u.act_id act_id, u.prize_id prize_id, u.create_time createTime, p.name name,p.type type ,p.value value,p.img img
|
|
|
from act_wheel_surf_user u , act_wheel_surf_prize p where u.prize_id = p.id and u.act_id =:act_id and u.uid = :uid and type != :type
|
|
|
order by u.create_time desc`, {act_id: obj.act_id, uid: obj.uid, type: 1});
|
|
|
order by u.create_time desc`, {act_id: obj.act_id, uid: obj.uid, type: 1}, {timeout: 2000});
|
|
|
} catch(e) {
|
|
|
oddPrizes = [];
|
|
|
logger.error(e);
|
|
|
}
|
|
|
|
...
|
...
|
|