提交
This commit is contained in:
@@ -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/";
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user