需要返回 Content-type: application

否则ezoic会添加额外的js代码导致json解析错误
hotfix/paypal-note
hainatravel 3 years ago committed by GitHub
parent 7cc87fc81c
commit d13cec2505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -136,6 +136,7 @@ class Confirm extends CI_Controller {
//只有ch有review功能
function review() {
header('Content-type: application/json;charset=utf-8');
$data = array();
$data['postdata'] = $this->input->post();
$mail_text = $this->load->view('mailtext', $data, true);

Loading…
Cancel
Save