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) {
|
func (l *QueryExampleLogic) QueryExample(req *types.QueryExampleReq) (resp *types.QueryExampleResp, err error) {
|
||||||
var exampleID int64
|
var exampleID int64
|
||||||
switch req.Feature {
|
switch req.Feature {
|
||||||
case "toc_PhoneThreeElements":
|
case "backgroundcheck":
|
||||||
exampleID = 83
|
exampleID = 508
|
||||||
case "toc_BankCardBlacklist":
|
case "companyinfo":
|
||||||
exampleID = 106
|
exampleID = 506
|
||||||
case "toc_IDCardTwoElements":
|
case "homeservice":
|
||||||
exampleID = 85
|
exampleID = 504
|
||||||
case "toc_PhoneTwoElements":
|
case "marriage":
|
||||||
exampleID = 86
|
exampleID = 501
|
||||||
case "toc_NetworkDuration":
|
case "preloanbackgroundcheck":
|
||||||
exampleID = 117
|
exampleID = 509
|
||||||
case "toc_PhoneSecondaryCard":
|
case "rentalinfo":
|
||||||
exampleID = 124
|
exampleID = 505
|
||||||
case "toc_PhoneNumberRisk":
|
case "riskassessment":
|
||||||
exampleID = 126
|
exampleID = 503
|
||||||
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
|
|
||||||
default:
|
default:
|
||||||
return nil, errors.Wrapf(xerr.NewErrCode(xerr.DB_ERROR), "示例报告, 获取示例报告失败: %v", err)
|
return nil, errors.Wrapf(xerr.NewErrCode(xerr.DB_ERROR), "示例报告, 获取示例报告失败: %v", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user