Files
pet-house/business/api/service.go
T
2024-03-27 23:25:08 +08:00

26 lines
625 B
Go

package api
import (
"github.com/kataras/iris/v12"
"github.com/kataras/iris/v12/context"
"pet-house.com/core/server/web/web_iris"
)
// 服务地址列表
func (p DefParty) serviceAddrList() web_iris.Party {
return web_iris.Party{Perfix: p.Perfix, PartyFunc: func(index iris.Party) {
index.Post(ServiceBase+"/serviceAddrList", func(ctx *context.Context) {
})
}}
}
// 服务地址添加或编辑
func (p DefParty) serviceAddOrEdit() web_iris.Party {
return web_iris.Party{Perfix: p.Perfix, PartyFunc: func(index iris.Party) {
index.Post(ServiceBase+"/serviceAddOrEdit", func(ctx *context.Context) {
})
}}
}