http->https

This commit is contained in:
“wanyongkang”
2024-03-19 15:49:56 +08:00
parent 60d6c0616d
commit 100b484a3d
38 changed files with 219 additions and 219 deletions

View File

@@ -236,7 +236,7 @@
var flag = {};
$.ajax({
type: 'POST',
url: 'http://php-api.juip.com/ros/Buyer/getBuyerInfo',
url: 'https://php-api.juip.com/ros/Buyer/getBuyerInfo',
dataType: "json",
contentType: "application/json",
data: JSON.stringify(data),
@@ -267,7 +267,7 @@
$.ajax({
type: 'GET',
url: 'http://php-api.juip.com/ros/index/getList',
url: 'https://php-api.juip.com/ros/index/getList',
dataType: "json",
async:false,
success: function (res) {
@@ -300,7 +300,7 @@
}
$.ajax({
type: 'POST',
url: 'http://php-api.juip.com/ros/Buyer/getBuyerInfo',
url: 'https://php-api.juip.com/ros/Buyer/getBuyerInfo',
dataType: "json",
contentType: "application/json",
data: JSON.stringify(data),
@@ -321,7 +321,7 @@
}
$.ajax({
type: 'POST',
url: 'http://php-api.juip.com/ros/Buyer/updateBuyerInfo',
url: 'https://php-api.juip.com/ros/Buyer/updateBuyerInfo',
dataType: "json",
contentType: "application/json",
data: JSON.stringify(data),
@@ -341,17 +341,17 @@
},
pay() {
let url = 'http://php-api.juip.com/ros/order/wxpay';
let url = 'https://php-api.juip.com/ros/order/wxpay';
switch(this.pay_type) {
case '1':
url = 'http://php-api.juip.com/ros/order/wxpay';
url = 'https://php-api.juip.com/ros/order/wxpay';
break;
case '2':
url = 'http://php-api.juip.com/ros/order/alipay';
url = 'https://php-api.juip.com/ros/order/alipay';
break;
case '3':
url = 'http://php-api.juip.com/ros/order/balancepay';
url = 'https://php-api.juip.com/ros/order/balancepay';
break;
}