From 30026db9cde628f6a3367da45e3906158fb49494 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期六, 10 六月 2023 09:33:24 +0800 Subject: [PATCH] Merge branch 'hotfix/h5接口地址修复' --- public/html/freebuy.html | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/public/html/freebuy.html b/public/html/freebuy.html index 5461f60..8537da7 100644 --- a/public/html/freebuy.html +++ b/public/html/freebuy.html @@ -293,7 +293,10 @@ <script src="https://polyfill.io/v2/polyfill.min.js?features=IntersectionObserver"></script> <script> (function(){ - var size = (document.body.clientWidth || document.documentElement.clientWidth); + var size1=document.body.clientWidth; + var size2=document.documentElement.clientWidth; + var size=size1<=0?size2:size1; + size=size<=0?400:size; document.documentElement.style.fontSize = (size > 750 ? 750 : size) / 7.5 + 'px'; })(); @@ -353,8 +356,8 @@ "token":_this.getUrlPar("token") }, //url:'http://dfg.shop.com/index.php/api/user/check_isfirst_free', - //url:'http://dfgapp.ushopvip.com/api/user/check_isfirst_free', - url:'http://appapitest.ushopvip.com/api/user/check_isfirst_free', + url:'http://dfgapp.ushopvip.com/api/user/check_isfirst_free', + //url:'http://appapitest.ushopvip.com/api/user/check_isfirst_free', type:"post", dataType:"json", data:{ -- Gitblit v1.9.3