...
|
...
|
@@ -63,8 +63,10 @@ class ActWheelSurfModel extends global.yoho.BaseModel { |
|
|
});
|
|
|
}
|
|
|
|
|
|
async exportRecords(actId) {
|
|
|
async exportRecords(actId = '') {
|
|
|
actId = actId.replace(/\s/g, '+');
|
|
|
actId = parseInt(aes.decryptUid(actId), 10);
|
|
|
|
|
|
let len = await this.client.llenAsync(`turntable:${actId}:prize:user`);
|
|
|
|
|
|
return this.client.lrangeAsync(`turntable:${actId}:prize:users`, 0, len - 1).then(prizes => {
|
...
|
...
|
|