12345678910111213141516171819202122232425262728293031323334353637 |
- package logic
- import (
- "context"
- "userCenter/rpc/internal/svc"
- "userCenter/rpc/pb"
- "github.com/zeromicro/go-zero/core/logx"
- )
- type EntExamineLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewEntExamineLogic(ctx context.Context, svcCtx *svc.ServiceContext) *EntExamineLogic {
- return &EntExamineLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- // 机构审核
- func (l *EntExamineLogic) EntExamine(in *pb.ExamineReq) (*pb.ExamineResp, error) {
- // todo: add your logic here and delete this line
- status, msg, code := Entservice.Examinet(in)
- return &pb.ExamineResp{
- ErrorCode: code,
- ErrorMsg: msg,
- Data: &pb.ExamineData{
- Status: status,
- },
- }, nil
- }
|