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

26 lines
578 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) goodsList() web_iris.Party {
return web_iris.Party{Perfix: p.Perfix, PartyFunc: func(index iris.Party) {
index.Post(GoodsBase+"/goodsList", func(ctx *context.Context) {
})
}}
}
// 商品详情
func (p DefParty) goodsDetail() web_iris.Party {
return web_iris.Party{Perfix: p.Perfix, PartyFunc: func(index iris.Party) {
index.Post(GoodsBase+"/goodsDetail", func(ctx *context.Context) {
})
}}
}