12345678910111213141516171819202122232425262728293031 |
- package logic
- import (
- "context"
- "github.com/zeromicro/go-zero/core/logx"
- "bp.jydev.jianyu360.cn/BaseService/userCenter/rpc/internal/svc"
- "bp.jydev.jianyu360.cn/BaseService/userCenter/rpc/pb"
- "bp.jydev.jianyu360.cn/BaseService/userCenter/service"
- )
- type UserDelLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewUserDelLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDelLogic {
- return &UserDelLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- // 删除用户
- func (l *UserDelLogic) UserDel(in *pb.UserIdReq) (*pb.ExamineResp, error) {
- // todo: add your logic here and delete this line
- return service.UserDel(in), nil
- }
|