|
@@ -557,6 +557,7 @@ class StoreOrder extends AuthController
|
|
|
|
|
|
$refund_data['pay_price'] = bcadd($product['pay_price'], $product['deposit'], 2);
|
|
|
$refund_data['refund_price'] = $refund_price;
|
|
|
+ $refund_data['refund_id'] = $product['order_id'] . time();
|
|
|
if ($product['pay_type'] == 'weixin') {
|
|
|
if ($product['is_channel'] == 1) {
|
|
|
try {
|
|
@@ -694,7 +695,7 @@ class StoreOrder extends AuthController
|
|
|
unset($data['refund_price']);
|
|
|
$refund_data['pay_price'] = bcadd($product['pay_price'], $product['deposit'], 2);
|
|
|
$refund_data['refund_price'] = $refund_price;
|
|
|
- $refund_data['refund_id'] = 'refund_deposit' . $product['order_id'];
|
|
|
+ $refund_data['refund_id'] = 'refund_deposit' . $product['order_id'] . time();
|
|
|
|
|
|
if ($product['pay_type'] == 'weixin') {
|
|
|
if ($product['is_channel'] == 1) {
|