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