1234567891011121314151617181920212223242526272829 |
- package logic
- import (
- "context"
- "jygit.jydev.jianyu360.cn/ApplicationCenter/publicService/rpc/internal/svc"
- "jygit.jydev.jianyu360.cn/ApplicationCenter/publicService/rpc/pb"
- "github.com/zeromicro/go-zero/core/logx"
- )
- type DetailLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DetailLogic {
- return &DetailLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- // 详情
- func (l *DetailLogic) Detail(in *pb.DatasmtReqDetail) (*pb.DatasmtRespDetail, error) {
- // todo: add your logic here and delete this line
- return &pb.DatasmtRespDetail{}, nil
- }
|