This commit is contained in:
XM-GO
2023-04-11 17:17:38 +08:00
parent 95ee8aa80b
commit 078781a240
10 changed files with 250 additions and 14 deletions

View File

@@ -7,10 +7,13 @@ import (
"github.com/emicklei/go-restful/v3"
"pandax/apps/visual/api"
"pandax/apps/visual/entity"
"pandax/apps/visual/services"
)
func InitRuleChainRouter(container *restful.Container) {
s := &api.RuleChainApi{}
s := &api.RuleChainApi{
VisualRuleChainApp: services.VisualRuleChainModelDao,
}
ws := new(restful.WebService)
ws.Path("/visual/rulechain").Produces(restful.MIME_JSON)