fix: wxpay notice

feature/pay
lyt 6 years ago
parent 463ba24da8
commit 61ed0768b8

@ -283,7 +283,9 @@ class PaymentService extends CI_Controller {
} }
} }
echo $output; if (empty($opn_id)) {
echo $output;
}
return $output; return $output;
// return $this->output->set_content_type('application/json')->set_output(json_encode($data)); // return $this->output->set_content_type('application/json')->set_output(json_encode($data));
} }

@ -322,6 +322,7 @@ jQuery.browser = {};
alert(data); alert(data);
}, },
error: function(msg) { error: function(msg) {
console.log("error", msg);
alert('\u53d1\u751f\u9519\u8bef\uff0c\u8bf7\u8054\u7cfbYOYO...'); alert('\u53d1\u751f\u9519\u8bef\uff0c\u8bf7\u8054\u7cfbYOYO...');
}, },
dataType: 'json', dataType: 'json',

Loading…
Cancel
Save