...
|
...
|
@@ -321,7 +321,7 @@ class ActWheelSurfModel extends global.yoho.BaseModel { |
|
|
async getUserPrize(obj) {
|
|
|
try {
|
|
|
return await mysqlCli.query(
|
|
|
`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
|
|
|
`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});
|
|
|
|
...
|
...
|
|