- 将卡类型2对应的值从整数10改为字符串'10' - 确保数据类型一致性避免潜在的比较问题
@@ -59,7 +59,7 @@ trait GzcApiRequest
Log::info('用户实名信息:' . json_encode($user));
$cardType = $user['card_type'];
if ($user['card_type'] == 2) {
- $cardType = 10;
+ $cardType = '10';
}
$cxbData = [
'platformNo' => env('GZC.PLATFORM_NO'),