活动:删除多余代码
This commit is contained in:
@@ -67,8 +67,8 @@ export default class Activity extends BaseModel {
|
||||
{ new: true, upsert: true }).lean(true);
|
||||
result.push(rec);
|
||||
}
|
||||
if(groupId != undefined) {
|
||||
if(groupId == 0) {
|
||||
if (groupId != undefined) {
|
||||
if (groupId == 0) {
|
||||
let newGroup = await ActivityGroupModel.createGroup();
|
||||
groupId = newGroup.groupId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user