opti: 将个人空间放到第一位置

This commit is contained in:
suxiaoxin 2017-09-27 14:18:02 +08:00
parent 7a008e31f7
commit fc2fa7b56b

View File

@ -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);