Browse Source

url修改

master
xpz2018 6 years ago
parent
commit
f104f8cccb
2 changed files with 3 additions and 4 deletions
  1. 6
      app.js
  2. 1
      pages/mall/shops/index.js

6
app.js

@ -2,7 +2,7 @@
App({ App({
release: false, release: false,
httpUrl: 'http://192.168.0.106:9000',
httpUrl: 'https://api-test.qniao.cn',
tmplIds: ['kg0T1ve0FpYrEtZ4ExbypHm8mtS7OJaehvqN_T9ypoI'], tmplIds: ['kg0T1ve0FpYrEtZ4ExbypHm8mtS7OJaehvqN_T9ypoI'],
globalData: { globalData: {
userInfo: {}, userInfo: {},
@ -19,9 +19,9 @@ App({
// this.httpUrl = 'https://mini.qniao.cn' // this.httpUrl = 'https://mini.qniao.cn'
// } // }
if (this.release) { if (this.release) {
this.httpUrl = 'https://mini.qniao.cn'
this.httpUrl = 'https://api.qniao.cn'
} else { } else {
this.httpUrl = 'http://192.168.0.106:9000'
this.httpUrl = 'https://api-test.qniao.cn'
} }
wx.getSystemInfo({ wx.getSystemInfo({
success: e => { success: e => {

1
pages/mall/shops/index.js

@ -69,7 +69,6 @@ Page({
}, },
fetchTaskList: function () { fetchTaskList: function () {
console.log('fetchTaskList>>>>')
if (this.data.requesting || this.data.finished) { if (this.data.requesting || this.data.finished) {
return return
} }

Loading…
Cancel
Save