added servername
Этот коммит содержится в:
поставляемый
+5
-5
@@ -84,7 +84,7 @@ function initLogin() {
|
||||
passwordInput.find("#User_password").removeClass("is-invalid");
|
||||
passwordInput.find(".form-floating").removeClass("is-invalid");
|
||||
if (validateEmail(userEmail)) {
|
||||
let port = "https://beta.bizgaze.app";
|
||||
let port = SERVERNAME
|
||||
// let port = "http://localhost:3088";
|
||||
let url = `${port}/account/getuserbyphoneormail/${userEmail}/${userEmail}`;
|
||||
getDataStatAxios(url, userEmail);
|
||||
@@ -158,8 +158,8 @@ function initLogin() {
|
||||
window.location.href = `/selectdelivery.html`;
|
||||
return;
|
||||
}
|
||||
|
||||
window.location.href = `./index.html`;
|
||||
|
||||
window.location.href = `./index.html`;
|
||||
} else {
|
||||
$('.error_msg').show();
|
||||
$('.error_msg .error_msg_res').html(res.data.message + ' <a class="validate_mail text-danger"><b>Validate Email</b></a>');
|
||||
@@ -445,7 +445,7 @@ return
|
||||
}
|
||||
else{
|
||||
debugger;
|
||||
let port = "https://beta.bizgaze.app";
|
||||
let port = SERVERNAME
|
||||
// let port = "http://localhost:3088";
|
||||
let url = `${port}/account/getuserbyphoneormail/${forgot_email}/${forgot_email}`;
|
||||
const config = {
|
||||
@@ -658,7 +658,7 @@ return
|
||||
}
|
||||
else{
|
||||
debugger;
|
||||
let port = "https://beta.bizgaze.app";
|
||||
let port = SERVERNAME;
|
||||
// let port = "http://localhost:3088";
|
||||
let url = `${port}/account/getuserbyphoneormail/${validate_email}/${validate_email}`;
|
||||
const config = {
|
||||
|
||||
поставляемый
+1
-1
@@ -17,7 +17,7 @@ $('.warranty_serialNumber_submit').click(async function () {
|
||||
$('.error_phonenumber').addClass('d-none');
|
||||
$('#Add_serial_number_inp').removeClass('border-danger')
|
||||
$('#Add_phonenumber_inp').removeClass('border-danger');
|
||||
let port = "https://anwi.bizgaze.app";
|
||||
let port = SERVERNAME;
|
||||
debugger
|
||||
let url = `${port}/apis/v4/Bizgaze/integrations/products/warrantyservice/serialno/${serial_no_inp}`;
|
||||
console.log(url);
|
||||
|
||||
поставляемый
+1
-1
@@ -1,7 +1,7 @@
|
||||
async function bindOrderDetails() {
|
||||
let user_number =$('.User_phoneum').text();
|
||||
// validatesession()
|
||||
let port = "https://anwi.bizgaze.app";
|
||||
let port = SERVERNAME;
|
||||
// let port = "http://localhost:3088";
|
||||
let url = `${port}/apis/v4/bizgaze/integrations/products/salesorderdetailsbyphonenumber/phonenumber/${user_number}`;
|
||||
const config = {
|
||||
|
||||
поставляемый
+1
-1
@@ -1,7 +1,7 @@
|
||||
async function order_summary(){
|
||||
let current_orderSerialDate =window.localStorage.getItem('orderSerialno');
|
||||
let user_number =window.localStorage.getItem('Userphonenumber');
|
||||
let port = "https://anwi.bizgaze.app";
|
||||
let port = SERVERNAME;
|
||||
// let port = "http://localhost:3088";
|
||||
let url = `${port}/apis/v4/bizgaze/integrations/products/salesorderdetailsbyphonenumber/phonenumber/${user_number}`;
|
||||
const config = {
|
||||
|
||||
поставляемый
+1
-1
@@ -45,7 +45,7 @@ async function getDataStatAxios(url) {
|
||||
})
|
||||
});
|
||||
}
|
||||
let port = `https://anwi.bizgaze.app`
|
||||
let port = SERVERNAME
|
||||
let loc_id = window.location.search;
|
||||
let loc_url = loc_id.split("=");
|
||||
let locpath = "/products.html?products";
|
||||
|
||||
поставляемый
+2
-2
@@ -15,7 +15,7 @@ function wattantyFunction() {
|
||||
$(".error_phonenumber").addClass("d-none");
|
||||
$("#Add_serial_number_inp").removeClass("border-danger");
|
||||
$("#Add_phonenumber_inp").removeClass("border-danger");
|
||||
let port = "https://anwi.bizgaze.app";
|
||||
let port = SERVERNAME
|
||||
debugger;
|
||||
let url = `${port}/apis/v4/Bizgaze/integrations/products/warrantyservice/serialno/${serial_no_inp}`;
|
||||
console.log(url);
|
||||
@@ -80,7 +80,7 @@ function wattantyFunction() {
|
||||
if (serial_no_inp != "") {
|
||||
$(".error_serial_num").addClass("d-none");
|
||||
$("#Add_serial_number_inp").removeClass("border-danger");
|
||||
let port = "https://anwi.bizgaze.app";
|
||||
let port = SERVERNAME
|
||||
debugger;
|
||||
let url = `${port}/apis/v4/Bizgaze/integrations/products/warrantyservice/serialno/${serial_no_inp}`;
|
||||
console.log(url);
|
||||
|
||||
Ссылка в новой задаче
Block a user