diff --git a/common/config.js b/common/config.js index ea17ba0..813a9ab 100644 --- a/common/config.js +++ b/common/config.js @@ -11,9 +11,10 @@ // const ROOTPATH2 = "http://192.168.1.5:8100"; //后台服务域名 // const ROOTPATH1 = "http://192.168.1.41:8100/czg"; // +// const ROOTPATH = "http://192.168.1.41:8100/czg"; //后台服务域名 +// 测试 const ROOTPATH1 = "https://web-api.hnsiyao.cn/czg"; // const ROOTPATH = "https://web-api.hnsiyao.cn/czg"; //后台服务域名 -// const ROOTPATH = "http://192.168.1.41:8100/czg"; //后台服务域名 const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名 diff --git a/components/pop-choujiang.vue b/components/pop-choujiang.vue index 9ae9185..394a9d3 100644 --- a/components/pop-choujiang.vue +++ b/components/pop-choujiang.vue @@ -424,7 +424,7 @@ async remoteGetPrizeIndex() { this.result = '' console.warn('###当前处于模拟的请求接口,并返回了中奖信息###') - const res = await this.$Request.getT('app/discSpinning/draw', { + const res = await this.$Request.getT('/app/discSpinning/draw', { orderId: this.option.orderId || 2145 }) console.log(res); @@ -476,7 +476,7 @@ orderId, id } = _this.result - _this.$Request.postJson('app/discSpinning/receive', _this.result).then(res => { + _this.$Request.postJson('/app/discSpinning/receive', _this.result).then(res => { _this.result = '' console.log(res) if (res.code == 0) { diff --git a/components/pop-ling-qu - 副本.vue b/components/pop-ling-qu - 副本.vue index fe60cdb..82d5564 100644 --- a/components/pop-ling-qu - 副本.vue +++ b/components/pop-ling-qu - 副本.vue @@ -53,7 +53,7 @@ orderId, id } = this.result - this.$Request.postJson('app/discSpinning/receive', this.result).then(res => { + this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { this.result = '' console.log(res) if (res.code == 0) { @@ -80,7 +80,7 @@ orderId, id } = this.result - this.$Request.postJson('app/discSpinning/receive', this.result).then(res => { + this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { this.result = '' console.log(res) if (res.code == 0) { diff --git a/components/pop-ling-qu.vue b/components/pop-ling-qu.vue index 068b9ed..e1b143c 100644 --- a/components/pop-ling-qu.vue +++ b/components/pop-ling-qu.vue @@ -57,7 +57,7 @@ orderId, id } = this.result - this.$Request.postJson('app/discSpinning/receive', this.result).then(res => { + this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { this.result = '' console.log(res) if (res.code == 0) { diff --git a/me/VjgyqAzklr/VjgyqAzklr.vue b/me/VjgyqAzklr/VjgyqAzklr.vue index f152011..998aad3 100644 --- a/me/VjgyqAzklr/VjgyqAzklr.vue +++ b/me/VjgyqAzklr/VjgyqAzklr.vue @@ -452,7 +452,7 @@ export default { async remoteGetPrizeIndex() { this.result = ''; console.warn('###当前处于模拟的请求接口,并返回了中奖信息###'); - const res = await this.$Request.getT('app/discSpinning/draw', { source: this.source }); + const res = await this.$Request.getT('/app/discSpinning/draw', { source: this.source }); this.freeNum--; // this.getCount() console.log(res); diff --git a/me/choujiang/choujiang.vue b/me/choujiang/choujiang.vue index c18aaa0..87aafb7 100644 --- a/me/choujiang/choujiang.vue +++ b/me/choujiang/choujiang.vue @@ -439,7 +439,7 @@ async remoteGetPrizeIndex() { this.result='' console.warn('###当前处于模拟的请求接口,并返回了中奖信息###') - const res = await this.$Request.getT('app/discSpinning/draw',{source:this.source}) + const res = await this.$Request.getT('/app/discSpinning/draw',{source:this.source}) this.freeNum-- // this.getCount() console.log(res); diff --git a/me/yaoqing/redPack-mingxi.vue b/me/yaoqing/redPack-mingxi.vue index 9590674..52a95b0 100644 --- a/me/yaoqing/redPack-mingxi.vue +++ b/me/yaoqing/redPack-mingxi.vue @@ -41,11 +41,11 @@ } }, onLoad: function(e) { - console.log(e) + console.log(e,'debug') if (e.moneyType) { this.moneyType = e.moneyType uni.setNavigationBarTitle({ - title: e.moneyType === 1 ? '红包明细' : '金币明细' + title: e.moneyType == 1 ? '红包明细' : '金币明细' }); } if (e.viewType) { diff --git a/pages.json b/pages.json index ecff0e8..964f8c3 100644 --- a/pages.json +++ b/pages.json @@ -24,8 +24,8 @@ { "path": "pages/task/prizeList", "style": { - "navigationBarTitleText": "任务", - "navigationStyle": "custom" + "navigationBarTitleText": "任务" + // "navigationStyle": "custom" } }, @@ -373,7 +373,7 @@ "path": "yaoqing/ymf-yaoqing-home", "style": { "navigationBarTitleText": "分享好友", - "navigationStyle": "custom", + // "navigationStyle": "custom", "h5": { "titleNView": { "backgroundColor": "#FFFFFF" diff --git a/pages/index/course/courseList.vue b/pages/index/course/courseList.vue index 7d196d7..753e9b1 100644 --- a/pages/index/course/courseList.vue +++ b/pages/index/course/courseList.vue @@ -1,17 +1,17 @@