根据 chat 示例创建 game-server,支持分布式部署、域名访问、数据库连接和基础使用
This commit is contained in:
17
game-server/config/adminUser.ts
Normal file
17
game-server/config/adminUser.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
module.exports = [{
|
||||
'id': 'user-1',
|
||||
'username': 'admin',
|
||||
'password': 'admin',
|
||||
'level': 1
|
||||
}, {
|
||||
'id': 'user-2',
|
||||
'username': 'monitor',
|
||||
'password': 'monitor',
|
||||
'level': 2
|
||||
}, {
|
||||
'id': 'user-3',
|
||||
'username': 'test',
|
||||
'password': 'test',
|
||||
'level': 2
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user