diff --git a/app.js b/app.js index 58960c5..f4a2865 100644 --- a/app.js +++ b/app.js @@ -42,14 +42,6 @@ App({ } }); - // wx.request({ - // url: 'http://api.map.baidu.com/geocoder/v2/?ak=btsVVWf0TM1zUBEbzFz6QqWF&coordtype=gcj02ll&location=' + latitude + ',' + longitude + '&output=json&pois=0', - // method: "get", - // success: function (res) { - // console.log(res.data.result.formatted_address) - // wx.setStorageSync('location', res.data.result.formatted_address.substr(res.data.result.formatted_address.indexOf('市') + 1, 10)) - // } - // }) } }) //调用API从本地缓存中获取数据 diff --git a/config/config.js b/config/config.js index c0c02b9..702cf6e 100644 --- a/config/config.js +++ b/config/config.js @@ -1,5 +1,5 @@ // 服务器域名 -const baseUrl = 'http://127.0.0.1:[your port]/'; +const baseUrl = 'https://api.demo.winqi.cn/'; // 获取书籍信息接口地址(可选择全部或单个书籍) const getBooksUrl = baseUrl + 'api/book/getBooks'; // 写评论接口 @@ -13,7 +13,6 @@ const getBoughtBooksUrl = baseUrl + 'api/user/getBoughtBooks'; // 兑换书籍接口 const buyBookUrl = baseUrl + 'api/order/buy'; const appInfo = { - baseUrl: "https://api.demo.winqi.cn", appId: "992019111758490006", appSecurity: "", }; diff --git a/images/.DS_Store b/images/.DS_Store index 174e79a..5959e7a 100644 Binary files a/images/.DS_Store and b/images/.DS_Store differ diff --git a/images/book.png b/images/book.png deleted file mode 100644 index cdf4ad5..0000000 Binary files a/images/book.png and /dev/null differ diff --git a/images/bookSelected.png b/images/bookSelected.png deleted file mode 100644 index 939f0a1..0000000 Binary files a/images/bookSelected.png and /dev/null differ