Authored by 黄涛

Update zero-buy.js

@@ -178,9 +178,9 @@ module.exports = class extends global.yoho.BaseModel { @@ -178,9 +178,9 @@ module.exports = class extends global.yoho.BaseModel {
178 getListMine(uid, extra = {}) { 178 getListMine(uid, extra = {}) {
179 const actId = parseInt(extra.actId, 10) || 0; 179 const actId = parseInt(extra.actId, 10) || 0;
180 const page = parseInt(extra.page, 10) || 1; 180 const page = parseInt(extra.page, 10) || 1;
181 - const limit = parseInt(extra.limit, 10) || PAGE_SIZE; 181 + const limitNum = parseInt(extra.limit, 10) || PAGE_SIZE;
182 182
183 - let limit = `${(page - 1) * PAGE_SIZE},${limit}`; 183 + let limit = `${(page - 1) * PAGE_SIZE},${limitNum}`;
184 let now = new Date().getTime() / 1000; 184 let now = new Date().getTime() / 1000;
185 185
186 uid = parseInt(uid, 10) || 0; 186 uid = parseInt(uid, 10) || 0;