yjp 3 дней назад
Родитель
Сommit
9c39b99a08
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      framework/core/api/url_instruction.go

+ 1 - 1
framework/core/api/url_instruction.go

@@ -44,7 +44,7 @@ func FormUrlInstruction(instructions ...UrlInstruction) string {
 }
 
 const (
-	permUrlInstructionTpl = `perm:"group:{{ .Group }};name:{{ .Name }};{{- if .Description -}}description:{{ .Description }};{{- end -}}{{- if .NeedCheckExpire -}}needCheckExpire;{{- end -}}{{- if .SensitiveWordScene -}}sensitiveWordScene:{{ .SensitiveWordScene }};{{- end -}}"`
+	permUrlInstructionTpl = `perm:"group:{{ .Group }};name:{{ .Name }};{{- if .Description -}}description:{{ .Description }};{{- end -}}{{- if .NeedCheckExpire -}}needCheckExpire;{{- end -}}{{- if .SensitiveWordScene -}}sensitiveWordScene:{{ .SensitiveWordScene }};{{- end -}}{{- if .Privilege -}}privilege;{{- end -}}"`
 )
 
 type PermUrlInstruction struct {