This commit is contained in:
laodaming
2023-06-05 12:21:15 +08:00
parent f7e7e2d85c
commit 19f988eccd
7 changed files with 34 additions and 11 deletions

View File

@@ -10,6 +10,7 @@ import (
"github.com/zeromicro/go-zero/rest/httpx"
)
// 获取产品详情
func GetProductInfoHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
//检测登录权限

View File

@@ -10,6 +10,7 @@ import (
"github.com/zeromicro/go-zero/rest/httpx"
)
// 获取产品列表
func GetProductListHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
//检测登录权限