bayi 1 year ago
parent
commit
658bd616c1
2 changed files with 4 additions and 5 deletions
  1. 0 1
      pages/ranking/index.js
  2. 4 4
      utils/request.js

+ 0 - 1
pages/ranking/index.js

@@ -29,7 +29,6 @@ Page({
             podiumBoxBg: options.type == '2' ? 'invitation' : options.type == '3' ? 'hot' : 'pk',
             podiumBoxBg: options.type == '2' ? 'invitation' : options.type == '3' ? 'hot' : 'pk',
             color: options.type == '2' ? '#2DCE66' : options.type == '3' ? '#FF7E6C' : '#967DFF',
             color: options.type == '2' ? '#2DCE66' : options.type == '3' ? '#FF7E6C' : '#967DFF',
         })
         })
-
         wx.setNavigationBarColor({
         wx.setNavigationBarColor({
             frontColor: '#ffffff',
             frontColor: '#ffffff',
             backgroundColor: options.type == '2' ? '#2DCE66' : options.type == '3' ? '#FF7E6C' : '#967DFF',
             backgroundColor: options.type == '2' ? '#2DCE66' : options.type == '3' ? '#FF7E6C' : '#967DFF',

+ 4 - 4
utils/request.js

@@ -6,10 +6,10 @@ const {
         envVersion
         envVersion
     }
     }
 } = wx.getAccountInfoSync();
 } = wx.getAccountInfoSync();
-/* if (envVersion == 'develop') {
-    baseUrl = 'https://reader-api.efunbox.cn/wx'
-    oldUrl = 'https://reader-api.efunbox.cn'
-} else { */
+// if (envVersion == 'develop') {
+//     baseUrl = 'https://reader-api.efunbox.cn/wx'
+//     oldUrl = 'https://reader-api.efunbox.cn'
+// } else {
     baseUrl = 'https://reader-api.ai160.com/wx'
     baseUrl = 'https://reader-api.ai160.com/wx'
     oldUrl = 'https://reader-api.ai160.com'
     oldUrl = 'https://reader-api.ai160.com'
 // }
 // }