瀏覽代碼

Add plugin type field to externalPlugin model

woodsaj 10 年之前
父節點
當前提交
8449017592
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      pkg/plugins/models.go

+ 1 - 0
pkg/plugins/models.go

@@ -51,6 +51,7 @@ type ExternalPluginCss struct {
 }
 
 type ExternalPlugin struct {
+	Type             string                   `json:"type"`
 	Routes           []*ExternalPluginRoute   `json:"routes"`
 	Js               []*ExternalPluginJs      `json:"js"`
 	Css              []*ExternalPluginCss     `json:"css"`