* 获取所有项目成员 * @interface /group/get_member_list * @method GET * @category group * @foldnumber 10 * @param {String} id 项目分组id * @returns {Object} * @example
(ctx)
| 344 | */ |
| 345 | |
| 346 | async getMemberList(ctx) { |
| 347 | let params = ctx.params; |
| 348 | let groupInst = yapi.getInst(groupModel); |
| 349 | let group = await groupInst.get(params.id); |
| 350 | ctx.body = yapi.commons.resReturn(group.members); |
| 351 | } |
| 352 | |
| 353 | /** |
| 354 | * 删除项目成员 |