http->https
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user