This commit is contained in:
2025-07-30 01:59:04 +08:00
parent 723c418a1b
commit 65ecef97f8
2 changed files with 3 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ func ProcessQYGL23T7Request(ctx context.Context, params []byte, deps *processors
return nil, fmt.Errorf("%s: %w", processors.ErrSystem, err)
}
encryptedIDCard, err := deps.WestDexService.Encrypt(paramsDto.EntCode)
encryptedIDCard, err := deps.WestDexService.Encrypt(paramsDto.IDCard)
if err != nil {
return nil, fmt.Errorf("%s: %w", processors.ErrSystem, err)
}
@@ -91,7 +91,7 @@ func ProcessQYGL23T7Request(ctx context.Context, params []byte, deps *processors
"data": map[string]interface{}{
"xM": encryptedName,
"gMSFZHM": encryptedIDCard,
"customerNumber": deps.WestDexService.GetConfig().Key,
"customerNumber": deps.WestDexService.GetConfig().SecretId,
"timeStamp": fmt.Sprintf("%d", time.Now().UnixNano()/int64(time.Millisecond)),
},
}

View File

@@ -37,7 +37,7 @@ func ProcessYYSYBE08Request(ctx context.Context, params []byte, deps *processors
"data": map[string]interface{}{
"xM": encryptedName,
"gMSFZHM": encryptedIDCard,
"customerNumber": deps.WestDexService.GetConfig().Key,
"customerNumber": deps.WestDexService.GetConfig().SecretId,
"timeStamp": fmt.Sprintf("%d", time.Now().UnixNano()/int64(time.Millisecond)),
},
}