34 lines
1005 B
Go
34 lines
1005 B
Go
package admin_agent
|
|
|
|
import (
|
|
"context"
|
|
"ycc-server/common/xerr"
|
|
|
|
"github.com/pkg/errors"
|
|
|
|
"ycc-server/app/main/api/internal/svc"
|
|
"ycc-server/app/main/api/internal/types"
|
|
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
)
|
|
|
|
type AdminAuditRealNameLogic struct {
|
|
logx.Logger
|
|
ctx context.Context
|
|
svcCtx *svc.ServiceContext
|
|
}
|
|
|
|
func NewAdminAuditRealNameLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AdminAuditRealNameLogic {
|
|
return &AdminAuditRealNameLogic{
|
|
Logger: logx.WithContext(ctx),
|
|
ctx: ctx,
|
|
svcCtx: svcCtx,
|
|
}
|
|
}
|
|
|
|
// AdminAuditRealName 实名认证审核(已废弃:实名认证改为三要素核验,无需审核)
|
|
func (l *AdminAuditRealNameLogic) AdminAuditRealName(req *types.AdminAuditRealNameReq) (resp *types.AdminAuditRealNameResp, err error) {
|
|
// 该接口已废弃,实名认证现在通过三要素核验自动完成,无需人工审核
|
|
return nil, errors.Wrapf(xerr.NewErrMsg("该接口已废弃,实名认证改为三要素核验,无需审核"), "")
|
|
}
|