sachinganesh преди 2 години
родител
ревизия
6e1b99ea3a
променени са 6 файла, в които са добавени 11 реда и са изтрити 11 реда
  1. 5
    5
      dist/Js/auth/login.js
  2. 1
    1
      dist/Js/myaccount/myaccount_warrenty.js
  3. 1
    1
      dist/Js/myaccount/orderdetails.js
  4. 1
    1
      dist/Js/orderDetails/order_summary.js
  5. 1
    1
      dist/Js/product.js
  6. 2
    2
      dist/Js/warranty.js

+ 5
- 5
dist/Js/auth/login.js Целия файл

@@ -84,7 +84,7 @@ function initLogin() {
84 84
       passwordInput.find("#User_password").removeClass("is-invalid");
85 85
       passwordInput.find(".form-floating").removeClass("is-invalid");
86 86
       if (validateEmail(userEmail)) {
87
-         let port = "https://beta.bizgaze.app";
87
+         let port = SERVERNAME
88 88
       // let port = "http://localhost:3088";
89 89
         let url = `${port}/account/getuserbyphoneormail/${userEmail}/${userEmail}`;
90 90
         getDataStatAxios(url, userEmail);
@@ -158,8 +158,8 @@ function initLogin() {
158 158
           window.location.href = `/selectdelivery.html`;
159 159
           return;
160 160
         }
161
-
162
-        window.location.href = `./index.html`;
161
+        
162
+      window.location.href = `./index.html`;
163 163
       } else {
164 164
         $('.error_msg').show();
165 165
         $('.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
445 445
     }
446 446
     else{
447 447
     debugger;
448
-  let port = "https://beta.bizgaze.app";
448
+  let port = SERVERNAME
449 449
    // let port = "http://localhost:3088";
450 450
     let url = `${port}/account/getuserbyphoneormail/${forgot_email}/${forgot_email}`;
451 451
     const config = {
@@ -658,7 +658,7 @@ return
658 658
     }
659 659
     else{
660 660
     debugger;
661
-  let port = "https://beta.bizgaze.app";
661
+  let port = SERVERNAME;
662 662
    // let port = "http://localhost:3088";
663 663
     let url = `${port}/account/getuserbyphoneormail/${validate_email}/${validate_email}`;
664 664
     const config = {

+ 1
- 1
dist/Js/myaccount/myaccount_warrenty.js Целия файл

@@ -17,7 +17,7 @@ $('.warranty_serialNumber_submit').click(async function () {
17 17
          $('.error_phonenumber').addClass('d-none');
18 18
          $('#Add_serial_number_inp').removeClass('border-danger')    
19 19
          $('#Add_phonenumber_inp').removeClass('border-danger');
20
-    let port = "https://anwi.bizgaze.app";
20
+    let port = SERVERNAME;
21 21
     debugger
22 22
     let url = `${port}/apis/v4/Bizgaze/integrations/products/warrantyservice/serialno/${serial_no_inp}`;
23 23
     console.log(url);

+ 1
- 1
dist/Js/myaccount/orderdetails.js Целия файл

@@ -1,7 +1,7 @@
1 1
 async function bindOrderDetails() {
2 2
   let user_number =$('.User_phoneum').text();
3 3
 // validatesession()
4
-let port = "https://anwi.bizgaze.app";
4
+let port = SERVERNAME;
5 5
 // let port = "http://localhost:3088";
6 6
   let url = `${port}/apis/v4/bizgaze/integrations/products/salesorderdetailsbyphonenumber/phonenumber/${user_number}`;
7 7
   const config = {

+ 1
- 1
dist/Js/orderDetails/order_summary.js Целия файл

@@ -1,7 +1,7 @@
1 1
 async function order_summary(){
2 2
 let current_orderSerialDate =window.localStorage.getItem('orderSerialno');
3 3
 let user_number =window.localStorage.getItem('Userphonenumber');
4
-let port = "https://anwi.bizgaze.app";
4
+let port = SERVERNAME;
5 5
 // let port = "http://localhost:3088";
6 6
   let url = `${port}/apis/v4/bizgaze/integrations/products/salesorderdetailsbyphonenumber/phonenumber/${user_number}`;
7 7
   const config = {

+ 1
- 1
dist/Js/product.js Целия файл

@@ -45,7 +45,7 @@ async function getDataStatAxios(url) {
45 45
         })
46 46
     });
47 47
 }
48
-let port = `https://anwi.bizgaze.app`
48
+let port = SERVERNAME
49 49
 let loc_id = window.location.search;
50 50
 let loc_url = loc_id.split("=");
51 51
 let locpath = "/products.html?products";

+ 2
- 2
dist/Js/warranty.js Целия файл

@@ -15,7 +15,7 @@ function wattantyFunction() {
15 15
       $(".error_phonenumber").addClass("d-none");
16 16
       $("#Add_serial_number_inp").removeClass("border-danger");
17 17
       $("#Add_phonenumber_inp").removeClass("border-danger");
18
-      let port = "https://anwi.bizgaze.app";
18
+      let port = SERVERNAME
19 19
       debugger;
20 20
       let url = `${port}/apis/v4/Bizgaze/integrations/products/warrantyservice/serialno/${serial_no_inp}`;
21 21
       console.log(url);
@@ -80,7 +80,7 @@ function wattantyFunction() {
80 80
     if (serial_no_inp != "") {
81 81
       $(".error_serial_num").addClass("d-none");
82 82
       $("#Add_serial_number_inp").removeClass("border-danger");
83
-      let port = "https://anwi.bizgaze.app";
83
+      let port = SERVERNAME
84 84
       debugger;
85 85
       let url = `${port}/apis/v4/Bizgaze/integrations/products/warrantyservice/serialno/${serial_no_inp}`;
86 86
       console.log(url);

Loading…
Отказ
Запис