|
|
@@ -6,8 +6,6 @@ import (
|
|
|
"time"
|
|
|
|
|
|
"git.qianqiusoft.com/qianqiusoft/light-apiengine/entitys"
|
|
|
-
|
|
|
- lvutils "git.qianqiusoft.com/qianqiusoft/light-vocation/utils"
|
|
|
)
|
|
|
|
|
|
type TokenStore struct {
|
|
|
@@ -63,7 +61,7 @@ func (t *TokenStore) Refresh(key string) {
|
|
|
}
|
|
|
|
|
|
func (t *TokenStore) startTokenCheckProcess() {
|
|
|
- autoRefresh, _ := lvutils.NewConfig().Bool("auto_refresh", false)
|
|
|
+ autoRefresh, _ := NewConfig().Bool("auto_refresh", false)
|
|
|
if !autoRefresh {
|
|
|
return
|
|
|
}
|