1234567891011121314151617181920212223242526272829303132333435 |
- package logic
- import (
- "context"
- "bp.jydev.jianyu360.cn/BaseService/userCenter/rpc/internal/svc"
- "bp.jydev.jianyu360.cn/BaseService/userCenter/rpc/pb"
- "github.com/zeromicro/go-zero/core/logx"
- )
- type ExamineListLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewExamineListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ExamineListLogic {
- return &ExamineListLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- // 审核列表
- func (l *ExamineListLogic) ExamineList(in *pb.ExamineListReq) (*pb.ExamineListResp, error) {
- // todo: add your logic here and delete this line
- code, msg, rdata := Entservice.ExamineList(in)
- return &pb.ExamineListResp{
- ErrorCode: code,
- ErrorMsg: msg,
- Data: rdata,
- }, nil
- }
|