优化代码

This commit is contained in:
刘祥超
2021-10-22 13:40:04 +08:00
parent 7f8abccd2a
commit ba638d4e1d
3 changed files with 9 additions and 4 deletions

View File

@@ -1,8 +1,5 @@
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
//go:build plus
// +build plus
package accesslogs
import (

View File

@@ -5,6 +5,10 @@
package accesslogs
import (
"github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb"
)
// 写入日志
func (this *StorageManager) Write(policyId int64, accessLogs []*pb.HTTPAccessLog) error {
return nil

View File

@@ -4,7 +4,11 @@
package authority
import (
"github.com/iwind/TeaGo/dbs"
)
// IsPlus 判断是否为企业版
func (this *AuthorityKeyDAO) IsPlus(tx *dbs.Tx) (bool, error) {
return false
return false, nil
}