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