소스 검색

删除vocation依赖

huangyh 6 년 전
부모
커밋
1fadfbd198
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      utils/store.go

+ 1 - 3
utils/store.go

@@ -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
 	}