Authored by 李奇

fixed:我的奖品页时间

@@ -321,7 +321,7 @@ class ActWheelSurfModel extends global.yoho.BaseModel { @@ -321,7 +321,7 @@ class ActWheelSurfModel extends global.yoho.BaseModel {
321 async getUserPrize(obj) { 321 async getUserPrize(obj) {
322 try { 322 try {
323 return await mysqlCli.query( 323 return await mysqlCli.query(
324 - `select u.id, u.act_id act_id, u.prize_id prize_id,p.name name,p.type type ,p.value value,p.img img 324 + `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
325 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 325 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
326 order by u.create_time desc`, {act_id: obj.act_id, uid: obj.uid, type: 1}); 326 order by u.create_time desc`, {act_id: obj.act_id, uid: obj.uid, type: 1});
327 327