Browse Source

修改bug

yjp 3 days ago
parent
commit
9c39b99a08
1 changed files with 1 additions and 1 deletions
  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 {