Procházet zdrojové kódy

修改配置上的错误

zhengchengwu před 5 roky
rodič
revize
ef01678d6f
2 změnil soubory, kde provedl 29 přidání a 28 odebrání
  1. 1 0
      addons/ewei_shopv2/core/inc/page_mobile.php
  2. 28 28
      data/config.php

+ 1 - 0
addons/ewei_shopv2/core/inc/page_mobile.php Zobrazit soubor

@@ -152,6 +152,7 @@ class MobilePage extends Page
152 152
 							pdo_insert('ewei_shop_member_org_bind', ['member_id'=>$uid, 'org_id'=>$_GPC['fxorgid']]);
153 153
 
154 154
 							$member = pdo_get('ewei_shop_member', ['id'=>$uid]);
155
+
155 156
 							m('account')->setLogin($member);
156 157
 							$_W["openid"] = $member['openid'];
157 158
 						}

+ 28 - 28
data/config.php Zobrazit soubor

@@ -4,46 +4,46 @@ defined('IN_IA') or exit('Access Denied');
4 4
 $config = array();
5 5
 
6 6
 //dev
7
-$config['db']['master']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
8
-$config['db']['master']['username'] = 'ztw';
9
-$config['db']['master']['password'] = 'ztw123456=';
10
-$config['db']['master']['port'] = '3306';
11
-$config['db']['master']['database'] = 'renren_dev';
12
-$config['db']['master']['charset'] = 'utf8mb4';
13
-$config['db']['master']['pconnect'] = 0;
14
-$config['db']['master']['tablepre'] = 'ims_';
15
-
16
-$config['other_db']['sgj_user']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
17
-$config['other_db']['sgj_user']['username'] = 'ztw';
18
-$config['other_db']['sgj_user']['password'] = 'ztw123456=';
19
-$config['other_db']['sgj_user']['port'] = '3306';
20
-$config['other_db']['sgj_user']['database'] = 'sgj_users_dev';
21
-$config['other_db']['sgj_user']['charset'] = 'utf8mb4';
22
-$config['other_db']['sgj_user']['pconnect'] = 0;
23
-$config['other_db']['sgj_user']['tablepre'] = '';
24
-
25
-$config['fxtokenkey'] = 'kN*5&AHqLP7&IGRKvHoElJm*2YY6Nw*QSScJ4ff&DH&ofGnbfQIks1A1NT9AbIDB';
26
-
27
-//prod
28 7
 // $config['db']['master']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
29
-// $config['db']['master']['username'] = 'syh';
30
-// $config['db']['master']['password'] = 'xhPECP2nFObR8aUK';
8
+// $config['db']['master']['username'] = 'ztw';
9
+// $config['db']['master']['password'] = 'ztw123456=';
31 10
 // $config['db']['master']['port'] = '3306';
32
-// $config['db']['master']['database'] = 'renren';
11
+// $config['db']['master']['database'] = 'renren_dev';
33 12
 // $config['db']['master']['charset'] = 'utf8mb4';
34 13
 // $config['db']['master']['pconnect'] = 0;
35 14
 // $config['db']['master']['tablepre'] = 'ims_';
36 15
 
37 16
 // $config['other_db']['sgj_user']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
38
-// $config['other_db']['sgj_user']['username'] = 'syh';
39
-// $config['other_db']['sgj_user']['password'] = 'xhPECP2nFObR8aUK';
17
+// $config['other_db']['sgj_user']['username'] = 'ztw';
18
+// $config['other_db']['sgj_user']['password'] = 'ztw123456=';
40 19
 // $config['other_db']['sgj_user']['port'] = '3306';
41
-// $config['other_db']['sgj_user']['database'] = 'sgj_users';
20
+// $config['other_db']['sgj_user']['database'] = 'sgj_users_dev';
42 21
 // $config['other_db']['sgj_user']['charset'] = 'utf8mb4';
43 22
 // $config['other_db']['sgj_user']['pconnect'] = 0;
44 23
 // $config['other_db']['sgj_user']['tablepre'] = '';
45 24
 
46
-// $config['ssodomain'] = '8&o!5VSz^iWe*PzhDogC5%m*S$ZlyB3c%5R4CrWjTwJJSJdEbop6do@eFR*7deTY';
25
+// $config['fxtokenkey'] = 'kN*5&AHqLP7&IGRKvHoElJm*2YY6Nw*QSScJ4ff&DH&ofGnbfQIks1A1NT9AbIDB';
26
+
27
+//prod
28
+$config['db']['master']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
29
+$config['db']['master']['username'] = 'syh';
30
+$config['db']['master']['password'] = 'xhPECP2nFObR8aUK';
31
+$config['db']['master']['port'] = '3306';
32
+$config['db']['master']['database'] = 'renren';
33
+$config['db']['master']['charset'] = 'utf8mb4';
34
+$config['db']['master']['pconnect'] = 0;
35
+$config['db']['master']['tablepre'] = 'ims_';
36
+
37
+$config['other_db']['sgj_user']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
38
+$config['other_db']['sgj_user']['username'] = 'syh';
39
+$config['other_db']['sgj_user']['password'] = 'xhPECP2nFObR8aUK';
40
+$config['other_db']['sgj_user']['port'] = '3306';
41
+$config['other_db']['sgj_user']['database'] = 'sgj_users';
42
+$config['other_db']['sgj_user']['charset'] = 'utf8mb4';
43
+$config['other_db']['sgj_user']['pconnect'] = 0;
44
+$config['other_db']['sgj_user']['tablepre'] = '';
45
+
46
+$config['fxtokenkey'] = '8&o!5VSz^iWe*PzhDogC5%m*S$ZlyB3c%5R4CrWjTwJJSJdEbop6do@eFR*7deTY';
47 47
 
48 48
 $config['db']['slave_status'] = false;
49 49
 $config['db']['slave']['1']['host'] = '';