yjp 3 өдөр өмнө
parent
commit
9c39b99a08

+ 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 {