Browse Source

修改配置上的错误

zhengchengwu 5 years ago
parent
commit
ef01678d6f
2 changed files with 29 additions and 28 deletions
  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 View File

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

+ 28 - 28
data/config.php View File

4
 $config = array();
4
 $config = array();
5
 
5
 
6
 //dev
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
 // $config['db']['master']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
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
 // $config['db']['master']['port'] = '3306';
10
 // $config['db']['master']['port'] = '3306';
32
-// $config['db']['master']['database'] = 'renren';
11
+// $config['db']['master']['database'] = 'renren_dev';
33
 // $config['db']['master']['charset'] = 'utf8mb4';
12
 // $config['db']['master']['charset'] = 'utf8mb4';
34
 // $config['db']['master']['pconnect'] = 0;
13
 // $config['db']['master']['pconnect'] = 0;
35
 // $config['db']['master']['tablepre'] = 'ims_';
14
 // $config['db']['master']['tablepre'] = 'ims_';
36
 
15
 
37
 // $config['other_db']['sgj_user']['host'] = 'shengws2015.mysql.rds.aliyuncs.com';
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
 // $config['other_db']['sgj_user']['port'] = '3306';
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
 // $config['other_db']['sgj_user']['charset'] = 'utf8mb4';
21
 // $config['other_db']['sgj_user']['charset'] = 'utf8mb4';
43
 // $config['other_db']['sgj_user']['pconnect'] = 0;
22
 // $config['other_db']['sgj_user']['pconnect'] = 0;
44
 // $config['other_db']['sgj_user']['tablepre'] = '';
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
 $config['db']['slave_status'] = false;
48
 $config['db']['slave_status'] = false;
49
 $config['db']['slave']['1']['host'] = '';
49
 $config['db']['slave']['1']['host'] = '';