Browse Source

调试

undefined
v-Brocloni 4 years ago
parent
commit
7aa353e2a4
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      addons/epay/library/Service.php

+ 3
- 3
addons/epay/library/Service.php View File

@@ -101,7 +101,7 @@ class Service
"trade_type"=>"MWEB",
"mweb_url"=>$url
];
return json_encode($result);
return $result;
} elseif ($request->isMobile()) {
$method = 'wap';
}
@@ -135,7 +135,7 @@ class Service
"mweb_url"=>$html,
"referer"=>Request::instance()->server('HTTP_REFERER')
];
return json_encode($result);
return $result;
break;
case 'app':
//APP支付,直接返回字符串
@@ -161,7 +161,7 @@ class Service
}
}
//返回字符串
$html = is_array($html) ? json_encode($html) : $html;
// $html = is_array($html) ? json_encode($html) : $html;
return $html;
}



Loading…
Cancel
Save