|
@@ -64,7 +64,7 @@ class WDPayLogic extends BaseApiLogic
|
|
|
"amount" => number_format($pay_amount, 2, '.', ''), // 价格,必须保留2位小数
|
|
"amount" => number_format($pay_amount, 2, '.', ''), // 价格,必须保留2位小数
|
|
|
"platform" =>Util::getDeviceType(), // 设备:android/ios
|
|
"platform" =>Util::getDeviceType(), // 设备:android/ios
|
|
|
"ip" => $buyIP, // 用户真实IP
|
|
"ip" => $buyIP, // 用户真实IP
|
|
|
- "username" => $userName ?: 'user' . $userId, // 用户名称
|
|
|
|
|
|
|
+ "username" => 'user' . $userId, // 用户名称
|
|
|
"customer" => $config['customer'], // 商户简称
|
|
"customer" => $config['customer'], // 商户简称
|
|
|
"customerNo" => $config['customerNo'], // 商户编号
|
|
"customerNo" => $config['customerNo'], // 商户编号
|
|
|
"customerOrderNo" => $order_sn, // 商户自定义订单号
|
|
"customerOrderNo" => $order_sn, // 商户自定义订单号
|