fix example
This commit is contained in:
parent
ccfc728adc
commit
5abf4f2234
@ -29,44 +29,21 @@ func NewQueryExampleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Quer
|
||||
func (l *QueryExampleLogic) QueryExample(req *types.QueryExampleReq) (resp *types.QueryExampleResp, err error) {
|
||||
var exampleID int64
|
||||
switch req.Feature {
|
||||
case "toc_PhoneThreeElements":
|
||||
exampleID = 83
|
||||
case "toc_BankCardBlacklist":
|
||||
exampleID = 106
|
||||
case "toc_IDCardTwoElements":
|
||||
exampleID = 85
|
||||
case "toc_PhoneTwoElements":
|
||||
exampleID = 86
|
||||
case "toc_NetworkDuration":
|
||||
exampleID = 117
|
||||
case "toc_PhoneSecondaryCard":
|
||||
exampleID = 124
|
||||
case "toc_PhoneNumberRisk":
|
||||
exampleID = 126
|
||||
case "toc_BankCardFourElements":
|
||||
exampleID = 131
|
||||
//case "toc_BankCardThreeElements":
|
||||
// exampleID = 9
|
||||
//case "toc_NaturalLifeStatus":
|
||||
// exampleID = 10
|
||||
//case "toc_EducationVerification":
|
||||
// exampleID = 11
|
||||
case "toc_PersonVehicleVerification":
|
||||
exampleID = 110
|
||||
case "toc_VehiclesUnderName":
|
||||
exampleID = 108
|
||||
case "toc_DualMarriage":
|
||||
exampleID = 103
|
||||
case "toc_PersonalBadRecord":
|
||||
exampleID = 73
|
||||
case "toc_ShareholderBusinessRelation":
|
||||
exampleID = 16
|
||||
case "toc_PersonalLawsuit":
|
||||
exampleID = 75
|
||||
case "toc_EnterpriseLawsuit":
|
||||
exampleID = 81
|
||||
case "toc_Marriage":
|
||||
exampleID = 367
|
||||
case "backgroundcheck":
|
||||
exampleID = 508
|
||||
case "companyinfo":
|
||||
exampleID = 506
|
||||
case "homeservice":
|
||||
exampleID = 504
|
||||
case "marriage":
|
||||
exampleID = 501
|
||||
case "preloanbackgroundcheck":
|
||||
exampleID = 509
|
||||
case "rentalinfo":
|
||||
exampleID = 505
|
||||
case "riskassessment":
|
||||
exampleID = 503
|
||||
|
||||
default:
|
||||
return nil, errors.Wrapf(xerr.NewErrCode(xerr.DB_ERROR), "示例报告, 获取示例报告失败: %v", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user