personallawsuit data change
This commit is contained in:
parent
67f02ece93
commit
3274267351
@ -503,12 +503,6 @@ func (l *QueryServiceLogic) ProcessPersonalLawsuitLogic(req *types.QueryServiceR
|
|||||||
return nil, errors.Wrapf(xerr.NewErrCodeMsg(xerr.PARAM_VERIFICATION_ERROR, validatorErr.Error()), "查询服务, 参数不正确: %+v", validatorErr)
|
return nil, errors.Wrapf(xerr.NewErrCodeMsg(xerr.PARAM_VERIFICATION_ERROR, validatorErr.Error()), "查询服务, 参数不正确: %+v", validatorErr)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 校验验证码
|
|
||||||
verifyCodeErr := l.VerifyCode(data.Mobile, data.Code)
|
|
||||||
if verifyCodeErr != nil {
|
|
||||||
return nil, verifyCodeErr
|
|
||||||
}
|
|
||||||
|
|
||||||
twoVerification := service.TwoFactorVerificationRequest{
|
twoVerification := service.TwoFactorVerificationRequest{
|
||||||
Name: data.Name,
|
Name: data.Name,
|
||||||
IDCard: data.IDCard,
|
IDCard: data.IDCard,
|
||||||
@ -525,7 +519,6 @@ func (l *QueryServiceLogic) ProcessPersonalLawsuitLogic(req *types.QueryServiceR
|
|||||||
params := map[string]interface{}{
|
params := map[string]interface{}{
|
||||||
"name": data.Name,
|
"name": data.Name,
|
||||||
"id_card": data.IDCard,
|
"id_card": data.IDCard,
|
||||||
"mobile": data.Mobile,
|
|
||||||
}
|
}
|
||||||
userID, err := l.GetOrCreateUser()
|
userID, err := l.GetOrCreateUser()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -61,8 +61,6 @@ type EntLawsuitReq struct {
|
|||||||
type PersonalLawsuitReq struct {
|
type PersonalLawsuitReq struct {
|
||||||
Name string `json:"name" validate:"required,name"`
|
Name string `json:"name" validate:"required,name"`
|
||||||
IDCard string `json:"id_card" validate:"required,idCard"`
|
IDCard string `json:"id_card" validate:"required,idCard"`
|
||||||
Mobile string `json:"mobile" validate:"required,mobile"`
|
|
||||||
Code string `json:"code" validate:"required"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type AgentQueryData struct {
|
type AgentQueryData struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user