瀏覽代碼

Revert "开发"

This reverts commit 658bd616c1f3bb39dddd818edd0303652872ddf8.
bayi 1 年之前
父節點
當前提交
bad0636745
共有 2 個文件被更改,包括 5 次插入4 次删除
  1. 1 0
      pages/ranking/index.js
  2. 4 4
      utils/request.js

+ 1 - 0
pages/ranking/index.js

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

+ 4 - 4
utils/request.js

@@ -6,10 +6,10 @@ const {
         envVersion
     }
 } = 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'
     oldUrl = 'https://reader-api.ai160.com'
 // }