This commit is contained in:
2025-04-01 14:13:41 +08:00
parent d7183fcc00
commit 7857015405
97 changed files with 1917 additions and 6934 deletions

View File

@@ -1,5 +1,10 @@
package know
import (
"context"
"fmt"
)
const (
CustomerCategory = "customer_category"
CustomerSource = "customer_source"
@@ -43,3 +48,8 @@ var (
// 所有角色
AllRoles = "m:role:all"
)
func GetManageKey(ctx context.Context, key string, arg ...any) string {
key = fmt.Sprintf(key, arg...)
return key
}