Commit db62da43 authored by 李智书's avatar 李智书

1.修改接口地址;

parent a0d462e0
...@@ -341,9 +341,14 @@ ...@@ -341,9 +341,14 @@
<script> <script>
var gHost = "https://dev-az-order-api.xiaopay.net"; var gHost = "https://dev-az-order-api.xiaopay.net";
if (window.location.protocol != "https:") { if (window.location.host.indexOf("dev")) {
gHost = "https://dev-az-order-api.xiaopay.net"; gHost = "https://dev-az-order-api.xiaopay.net";
} else if (window.location.host.indexOf("uat")) {
gHost = "https://uat.xiaopay.net";
} else {
gHost = "https://az-order-api.xiaopay.net";
} }
//获取参数 //获取参数
function getQueryParams(params) { function getQueryParams(params) {
let href = window.location.href let href = window.location.href
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment