From 732580af79e6c67636e79ef4b06b1e94bd5a66ac Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期五, 09 六月 2023 10:41:30 +0800 Subject: [PATCH] no message --- public/html/freebuy.html | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/public/html/freebuy.html b/public/html/freebuy.html index f7aa092..89d55a1 100644 --- a/public/html/freebuy.html +++ b/public/html/freebuy.html @@ -345,13 +345,15 @@ getGoodsList:function(){ var _this = this; this.loading=true; + alert("杩涙潵浜�") + alert(this.getUrlPar("token")) $.ajax({ headers:{ "token":this.getUrlPar("token") }, - url:'http://dfg.shop.com/index.php/api/taoke/get_nine_goods', - // url:'http://dfgapp.ushopvip.com/api/taoke/get_nine_goods', - //url:'http://appapitest.ushopvip.com/api/taoke/get_nine_goods', + //url:'http://dfg.shop.com/index.php/api/taoke/get_first_free_goods', + //url:'http://dfgapp.ushopvip.com/api/taoke/get_first_free_goods', + url:'http://appapitest.ushopvip.com/api/taoke/get_first_free_goods', type:"post", dataType:"json", data:{ @@ -360,6 +362,7 @@ pageSize:20, } }).done(function(res){ + alert(res) var newlist=[]; res.data.list.map(function(r,k){ var buprice=r.actualPrice-r.topFanli; @@ -374,6 +377,7 @@ }, }, mounted: function () { + alert("寮�濮�") this.getGoodsList(); var that=this; document.addEventListener('UniAppJSBridgeReady', function() { -- Gitblit v1.9.3