周立森 5 anos atrás
pai
commit
ca43c6cc98
2 arquivos alterados com 6 adições e 5 exclusões
  1. 4
    4
      config/dev.js
  2. 2
    1
      src/pages/person/index.js

+ 4
- 4
config/dev.js Ver arquivo

@@ -5,12 +5,12 @@ module.exports = {
5 5
   defineConstants: {
6 6
     // HOST: '"http://47.101.36.130:8085"',//测试
7 7
     // WSS_HOST: '"wss://47.101.36.130:8085"',
8
-    // HOST:  '"https://dev.jinchengjiaye.com"',//测试
9
-    // WSS_HOST: '"wss://dev.jinchengjiaye.com"',
8
+    HOST:  '"https://dev.jinchengjiaye.com"',//测试
9
+    WSS_HOST: '"wss://dev.jinchengjiaye.com"',
10 10
     // HOST: '"https://lt.pawoma.cn"',
11 11
     // WSS_HOST: '"wss://lt.pawoma.cn"',
12
-    HOST: '"http://192.168.0.72:8080"',
13
-    WSS_HOST: '"ws://192.168.0.72:8080"',
12
+    // HOST: '"http://192.168.0.72:8080"',
13
+    // WSS_HOST: '"ws://192.168.0.72:8080"',
14 14
   },
15 15
   weapp: {},
16 16
   h5: {}

+ 2
- 1
src/pages/person/index.js Ver arquivo

@@ -174,8 +174,9 @@ export default class Person extends Component {
174 174
                 <View className="info-text__intro">积分 {user.points || 0}</View>
175 175
               </View>
176 176
               {
177
-                user.personType == 'consultant' && (
177
+                user.personType == 'Realty Consultant' && (
178 178
                   <Navigator url={`/pages/person/spread/index`} className="tuiguang">
179
+                    
179 180
                     <Image style="width:40px;height:36px" src={require('@assets/mine/tuiguangma.png')} ></Image>
180 181
                     <View className="info-text__intro" style="margin:4px 0 0 4px">推广码</View>
181 182
                   </Navigator>