This commit is contained in:
liuyuan
2025-05-19 16:00:20 +08:00
parent fb96182e18
commit 30042fdfb9
2 changed files with 20 additions and 3 deletions

View File

@@ -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/";

View File

@@ -607,6 +607,8 @@ export default {
uni.hideTabBar();
this.$nextTick(() => {
//提示评分
this.editScoreRemind();
this.getAdvertisement();
});
},
@@ -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({