Authored by 邱骏

助力修改接口

... ... @@ -12,6 +12,7 @@
}
],
"indentation": null,
"selector-type-no-unknown": null
"selector-type-no-unknown": null,
"selector-class-pattern": null
}
}
... ...
... ... @@ -75,7 +75,7 @@ export default {
/**
* 加入排队
*/
addQueue(actId) {
addQueue(actId, userId) {
if (!actId) {
return Promise.reject({
code: 403,
... ... @@ -85,8 +85,9 @@ export default {
return api.post({
url: '',
data: {
method: 'app.drawline.addQueue',
activityId: actId
method: 'app.drawline.addQueueForHelp',
activityId: actId,
userId: userId
}
});
},
... ...
... ... @@ -425,7 +425,7 @@ Page(Object.assign({
this.setData({
api_status: 1
});
LimitModel.addQueue(actId).then((res) => {
LimitModel.addQueue(actId, uid).then((res) => {
console.log('加入排队', res);
if (res.code === 200 && res.data) {
let sort = res.data.sort;
... ...