修改部分数据库字段

This commit is contained in:
liangtongchuan
2020-11-17 20:25:18 +08:00
parent 80b8f1bac7
commit b4c0dc7da7
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -16,6 +16,7 @@ class TopHero {
* 角色字段接口
*/
@index({ roleId: 1 })
@index({ serverId: 1, roleId: 1})
@index({ towerLv: -1, towerUpTime: 1 })
// @index({ userInfo.uid: 1, serverId: 1 })
export default class Role extends BaseModel {