mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-30 13:20:24 +08:00
opti: 将个人空间放到第一位置
This commit is contained in:
parent
7a008e31f7
commit
fc2fa7b56b
@ -379,7 +379,7 @@ class groupController extends baseController {
|
||||
privateGroup = privateGroup.toObject();
|
||||
privateGroup.group_name = '个人空间';
|
||||
privateGroup.role = 'owner';
|
||||
newResult.push(privateGroup);
|
||||
newResult.unshift(privateGroup);
|
||||
}
|
||||
|
||||
ctx.body = yapi.commons.resReturn(newResult);
|
||||
|
Loading…
Reference in New Issue
Block a user