聊天:修改部分接口字段和命名
This commit is contained in:
@@ -67,6 +67,7 @@ export class EntryHandler {
|
||||
session.set('sid', self.app.get('serverId'));
|
||||
session.set('serverId', role.serverId);
|
||||
session.set('funcs', role.funcs||[]);
|
||||
session.set('guildCode', role.guildCode);
|
||||
session.push('sid', () => {});
|
||||
session.push('roleId', () => {});
|
||||
session.push('roleName', () => {});
|
||||
@@ -74,6 +75,7 @@ export class EntryHandler {
|
||||
session.push('serverId', () => {});
|
||||
session.push('funcs', () => {});
|
||||
session.push('updatedMailAt', () => {});
|
||||
session.push('guildCode', () => {});
|
||||
// session.push('rid', function (err) {
|
||||
// if (err) {
|
||||
// console.error('set rid for session service failed! error is : %j', err.stack);
|
||||
|
||||
Reference in New Issue
Block a user