|
@@ -130,6 +130,7 @@ func compareRisk(cusPdRisk string, pdRisk string) (code int, err error) {
|
|
func GetRiskTestToken(mobile string) (token string, err error) {
|
|
func GetRiskTestToken(mobile string) (token string, err error) {
|
|
token, err = htApi.EnCodeData(api.CustomerRiskReq{
|
|
token, err = htApi.EnCodeData(api.CustomerRiskReq{
|
|
MobileTel: mobile,
|
|
MobileTel: mobile,
|
|
|
|
+ LoginType: "1",
|
|
})
|
|
})
|
|
if err != nil {
|
|
if err != nil {
|
|
err = exception.NewWithException(exception.GenerateRiskTestTokenFailed, err.Error())
|
|
err = exception.NewWithException(exception.GenerateRiskTestTokenFailed, err.Error())
|