作者 wangzhi

修改

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