1234567891011121314151617181920212223242526272829 |
- // Code generated by goctl. DO NOT EDIT!
- // Source: goodsCenter.proto
- package server
- import (
- "context"
- "bp.jydev.jianyu360.cn/BaseService/goodsCenter/rpc/internal/logic"
- "bp.jydev.jianyu360.cn/BaseService/goodsCenter/rpc/internal/svc"
- "bp.jydev.jianyu360.cn/BaseService/goodsCenter/rpc/pb"
- )
- type GoodsCenterServer struct {
- svcCtx *svc.ServiceContext
- pb.UnimplementedGoodsCenterServer
- }
- func NewGoodsCenterServer(svcCtx *svc.ServiceContext) *GoodsCenterServer {
- return &GoodsCenterServer{
- svcCtx: svcCtx,
- }
- }
- // 查看标准商品分类
- func (s *GoodsCenterServer) GetBaseGoodsStandClassify(ctx context.Context, in *pb.ClassifyReq) (*pb.ClassifyResp, error) {
- l := logic.NewGetBaseGoodsStandClassifyLogic(ctx, s.svcCtx)
- return l.GetBaseGoodsStandClassify(in)
- }
|