mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2026-01-08 16:55:48 +08:00
优化代码
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
|
||||
//go:build plus
|
||||
// +build plus
|
||||
|
||||
package accesslogs
|
||||
|
||||
import (
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user