fix: api descript

This commit is contained in:
wwweww
2026-02-28 05:33:16 +08:00
parent 5930fb0dde
commit d2f33b4b96
243 changed files with 37065 additions and 780 deletions
@@ -0,0 +1,23 @@
// Code scaffolded by goctl. Safe to edit.
// goctl 1.9.2
package svc
import (
"juwan-backend/app/shop/api/internal/config"
"juwan-backend/app/shop/rpc/shopservice"
"github.com/zeromicro/go-zero/zrpc"
)
type ServiceContext struct {
Config config.Config
ShopRpc shopservice.ShopService
}
func NewServiceContext(c config.Config) *ServiceContext {
return &ServiceContext{
Config: c,
ShopRpc: shopservice.NewShopService(zrpc.MustNewClient(c.ShopRpcConf)),
}
}