[REV]Update api range

This commit is contained in:
崔斌 2017-12-07 21:32:09 +08:00
parent 6b66077e59
commit 05d2d97496

View File

@ -102,7 +102,7 @@ func CreateDefaultTokenMap(conf option.Config) {
}
rui := &dbmodel.RegionUserInfo{
Token: consoleToken,
APIRange: "all",
APIRange: dbmodel.ALLPOWER,
ValidityPeriod: 3257894000,
}
tokenMap := make(map[string]*dbmodel.RegionUserInfo)