Add plugin type field to externalPlugin model

This commit is contained in:
woodsaj 2015-11-27 15:21:57 +08:00
parent bd8f5e9bfd
commit 8449017592

View File

@ -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"`