add: some user api and all api desc
This commit is contained in:
@@ -25,6 +25,9 @@ func NewDelUserVerificationsLogic(ctx context.Context, svcCtx *svc.ServiceContex
|
||||
|
||||
func (l *DelUserVerificationsLogic) DelUserVerifications(in *pb.DelUserVerificationsReq) (*pb.DelUserVerificationsResp, error) {
|
||||
// todo: add your logic here and delete this line
|
||||
|
||||
err := l.svcCtx.UserVeriModelRW.DeleteOneID(in.Id).Exec(l.ctx)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &pb.DelUserVerificationsResp{}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user