mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 11:47:36 +08:00
[REV]Update api range
This commit is contained in:
parent
6b66077e59
commit
05d2d97496
@ -102,7 +102,7 @@ func CreateDefaultTokenMap(conf option.Config) {
|
|||||||
}
|
}
|
||||||
rui := &dbmodel.RegionUserInfo{
|
rui := &dbmodel.RegionUserInfo{
|
||||||
Token: consoleToken,
|
Token: consoleToken,
|
||||||
APIRange: "all",
|
APIRange: dbmodel.ALLPOWER,
|
||||||
ValidityPeriod: 3257894000,
|
ValidityPeriod: 3257894000,
|
||||||
}
|
}
|
||||||
tokenMap := make(map[string]*dbmodel.RegionUserInfo)
|
tokenMap := make(map[string]*dbmodel.RegionUserInfo)
|
||||||
|
Loading…
Reference in New Issue
Block a user