作者 wangzhi

修改

... ... @@ -441,9 +441,6 @@ class Common extends Api
} catch (Exception $e) {
$e->getMessage();
}
dump($result);
dump($PayOrderInfo);
dump($TuiMoney);
if (!$result) {
$this->error('退款失败', 0);
die;
... ...
... ... @@ -414,7 +414,7 @@ class Api
public function Tuikuan($OrderSn)
{
$PayOrderInfo = Db::name('pay_order')->where('OrderSn', $OrderSn)->where('type', 1)->find();
$TuiMoney = $PayOrderInfo['UpMoney'] + $PayOrderInfo['Money'];
$TuiMoney = $PayOrderInfo['Money'];
//配置
$config = [
'app_id' => 'wx6a9080f20326f817',
... ...