Browse Source

sunguidong

zhangguidong 2 years ago
parent
commit
f4443427ab
1 changed files with 4 additions and 0 deletions
  1. 4 0
      application/admin/controller/Goodorder.php

+ 4 - 0
application/admin/controller/Goodorder.php

@@ -106,6 +106,10 @@ class Goodorder extends Backend
                     // 可在此处传入其他参数,详细参数见微信支付文档
                     'refund_desc' => '退款',
                 ]);
+                print_r($result);
+                if($result['return_code']=='FAIL'){
+                    $this->error($result['return_msg'],'index');
+                }
                 if($result['return_code']=='FAIL'){
                     $this->error($result['return_msg'],'index');
                 }