From 848a169221668413691f44e1fcbd219e32c1431c Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期一, 31 七月 2023 16:19:49 +0800
Subject: [PATCH] no message

---
 public/html/freebuy.html |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/public/html/freebuy.html b/public/html/freebuy.html
index 6524509..2d49258 100644
--- a/public/html/freebuy.html
+++ b/public/html/freebuy.html
@@ -436,7 +436,7 @@
             isUniReady:false,
             plat:'tb',
             //posturl:"http://dfg.shop.com"
-            posturl:"http://appapitest.ushopvip.com"
+            //posturl:"http://appapitest.ushopvip.com"
             //posturl:"http://dfgapp.ushopvip.com"
         },
         methods: {
@@ -510,11 +510,11 @@
                 })
             },
             Infoformat: function(info){
-            let formatObj = info.replace(/\%/g,"%25")
-            formatObj = info.replace(/\#/g,"%23")
-            formatObj = info.replace(/\&/g,"%26")
-            formatObj = info.replace(/\?/g,"%3F")
-            return formatObj;
+                info = info.replace(/\%/g,"%25")
+            info = info.replace(/\#/g,"%23")
+            info = info.replace(/\&/g,"%26")
+            info = info.replace(/\?/g,"%3F")
+            return info;
             },
             targetItem:function(item){
                 switch(this.plat)
@@ -566,7 +566,7 @@
                             headers:{
                                 "token":_this.getUrlPar("token")
                             },
-                            url:_this.posturl+'/api/taoke/get_first_free_jd_goods', 
+                            url:'/api/taoke/get_first_free_jd_goods', 
                             type:"post",
                                 dataType:"json",
                             data:{
@@ -583,7 +583,7 @@
                             headers:{
                                 "token":_this.getUrlPar("token")
                             },
-                            url:_this.posturl+'/api/taoke/get_first_free_dy_goods', 
+                            url:'/api/taoke/get_first_free_dy_goods', 
                             type:"post",
                                 dataType:"json",
                             data:{
@@ -601,7 +601,7 @@
                             headers:{
                                 "token":_this.getUrlPar("token")
                             },
-                            url:_this.posturl+'/api/taoke/get_first_free_goods', 
+                            url:'/api/taoke/get_first_free_goods', 
                             type:"post",
                                 dataType:"json",
                             data:{
@@ -637,7 +637,7 @@
                     headers:{
                         "token":_this.getUrlPar("token")
                     },
-                   url:_this.posturl+'/api/user/check_isfirst_free',
+                   url:'/api/user/check_isfirst_free',
                    type:"post",
                     dataType:"json",
                     data:{

--
Gitblit v1.9.3