Commit 0f960a06 authored by 董先生's avatar 董先生

商品兑换积分

parent 39109bab
...@@ -41,6 +41,7 @@ class PayService { ...@@ -41,6 +41,7 @@ class PayService {
break; break;
} }
$data->amount = $data->amount-$data->integral;
$payData = [ $payData = [
'mchid' => $config['mch_id'], 'mchid' => $config['mch_id'],
'appid' => $config['app_id'], 'appid' => $config['app_id'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment