后台:活动组类型

This commit is contained in:
luying
2021-06-18 16:41:26 +08:00
parent 85b3ac3132
commit 15ff0938bc
6 changed files with 46 additions and 6 deletions

View File

@@ -54,6 +54,13 @@ export default class ActivityController extends Controller {
return
}
public async saveGroupTypeToActivityGroup() {
const { ctx } = this;
const { groupId, groupType } = ctx.request.body;
ctx.body = await ctx.service.activity.saveGroupTypeToActivityGroup(groupId, groupType);
return
}
public async updateActivityGroupName() {
const { ctx } = this;
const { groupId, groupName } = ctx.request.body;