diff --git a/config/baseUrl.js b/config/baseUrl.js index 8c8f463..0da854e 100644 --- a/config/baseUrl.js +++ b/config/baseUrl.js @@ -2,8 +2,8 @@ let baseUrl = ""; let socketUrl = ""; if (process.env.NODE_ENV === 'development') { // 开发环境 - baseUrl = "https://api.nuttyreading.com/"; //线上正式 - //baseUrl = "http://192.168.110.100:9200/pb/"; //张川川 + //baseUrl = "https://api.nuttyreading.com/"; //线上正式 + baseUrl = "http://192.168.110.100:9200/pb/"; //张川川 } else if (process.env.NODE_ENV === 'production') { // 生产环境11 baseUrl = "https://api.nuttyreading.com/"; diff --git a/pages/peanut/home.vue b/pages/peanut/home.vue index 87cb5c9..124b8b0 100644 --- a/pages/peanut/home.vue +++ b/pages/peanut/home.vue @@ -607,7 +607,9 @@ export default { uni.hideTabBar(); this.$nextTick(() => { - this.getAdvertisement(); + //提示评分 + this.editScoreRemind(); + this.getAdvertisement(); }); }, onHide() { @@ -707,6 +709,21 @@ export default { //方法 methods: { ...mapMutations(["setUserInfo"]), + //提示去评分 + async editScoreRemind() { + await $http + .request({ + url: "common/class/editScoreRemind", + method: "POST", + data: { }, + header: { + "Content-Type": "application/json", + }, + }) + .then(async (res) => { + + }); + }, async getAdvertisement() { await $http .request({