Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esf
fenzhan_zsb
Commits
190e0143
Commit
190e0143
authored
Dec 20, 2019
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sss
parent
b458cf8f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
11 deletions
+21
-11
config.php
new_admincp/applications/zsb/config/config.php
+1
-6
config_wh.php
new_admincp/applications/zsb/config/config_wh.php
+14
-0
realHouse.php
new_admincp/applications/zsb/controllers/realHouse.php
+3
-3
MY_Controller.php
new_admincp/applications/zsb/core/MY_Controller.php
+3
-2
No files found.
new_admincp/applications/zsb/config/config.php
View file @
190e0143
...
...
@@ -426,8 +426,7 @@ $config['block_expert']["wfen"] = 0; //
$config
[
'block_expert'
][
"freeze_num"
]
=
10
;
//可以被冻结的次数
//The action which do not need to check login, can set in this array.
$config
[
'no_login_check'
]
=
array
(
'login'
=>
array
(
'index'
,
'cp_enter'
,
'ag_enter_set'
,
'ag_enter'
,
'cp_enter_set'
,
'cp_enter'
,
'quit'
,
'findpw'
,
'findpw_code'
,
'confirm_validcode'
),
'login'
=>
array
(
'index'
,
'cp_enter'
,
'ag_enter_set'
,
'ag_enter'
,
'cp_enter_set'
,
'cp_enter'
,
'quit'
,
'findpw'
,
'findpw_code'
,
'confirm_validcode'
),
'valid'
=>
array
(
'index'
),
'desktop'
=>
array
(
'index'
),
'payment'
=>
array
(
'notify'
,
'agreement'
),
...
...
@@ -478,10 +477,6 @@ $config['left_menu']['shop'] = array('shop_house_recommend', 'shop_set_basic');
$config
[
'left_menu'
][
'payment'
]
=
array
(
'payment_index'
,
array
(
'payment_recharge'
,
'payment_success'
),
'payment_transaction'
);
$config
[
'left_menu'
][
'question'
]
=
array
(
'qa_manage'
,
'qa_manage1'
,
'qa_manage2'
);
//真房源管理
$config
[
'left_menu'
][
'question'
]
=
array
(
'qa_manage'
,
'qa_manage1'
,
'qa_manage2'
);
//统计类的配置 statistics_plus
$config
[
'statistics'
][
1
][
'new'
][
'appName'
]
=
"172.17.1.76:7777/datamining/HTTP/?service="
;
//"202.102.94.169:7777/datamining/HTTP/?service=";//新统计
...
...
new_admincp/applications/zsb/config/config_wh.php
View file @
190e0143
...
...
@@ -483,6 +483,20 @@ $config['left_menu']['payment'] = array('payment_index', array('payment_recharge
//$config['left_menu']['payment'] = array('payment_index', array('payment_success'), 'payment_transaction');
$config
[
'left_menu'
][
'question'
]
=
array
(
'qa_manage'
,
'qa_manage1'
,
'qa_manage2'
);
//真房源管理
$config
[
'left_menu'
][
'realHouse'
]
=
array
(
array
(
'realHouse_marginAccount'
),
array
(
'realHouse_reportRecord'
),
);
$IpHostAllow
=
explode
(
'.'
,
GetIp
());
if
(
$IpHostAllow
[
'0'
]
==
'192'
||
$IpHostAllow
[
'0'
]
==
'127'
)
{
...
...
new_admincp/applications/zsb/controllers/realHouse.php
View file @
190e0143
...
...
@@ -39,13 +39,13 @@ class realHouse extends MY_Controller {
{
parent
::
__construct
();
$realHouse
=
$this
->
config
->
item
(
'
realH
ouse'
);
$realHouse
=
$this
->
config
->
item
(
'
is_open_real_h
ouse'
);
$this
->
load
->
model
(
'broker_model'
);
if
(
$this
->
router
->
fetch_method
()
!=
'notify'
)
{
$packageId
=
$this
->
user_arr
[
'package_id'
];
$realNumLimit
=
$this
->
broker_model
->
get_realnum_by_packageid
(
$packageId
);
if
(
empty
(
$realHouse
)
||
$realNumLimit
<=
0
)
{
//
$realNumLimit =$this->broker_model->get_realnum_by_packageid($packageId);
if
(
empty
(
$realHouse
))
{
exit
(
'暂未开放!'
);
}
}
...
...
new_admincp/applications/zsb/core/MY_Controller.php
View file @
190e0143
...
...
@@ -287,8 +287,9 @@ class MY_Controller extends CI_Controller
// echo $page_key;
//print_r($page_key);
//print_r($left_arr);
if
(
isset
(
$left_arr
[
$menu_key
])
//var_dump($page_key);
if
(
isset
(
$left_arr
[
$menu_key
])
&&
is_array
(
$left_arr
[
$menu_key
])
&&
count
(
$left_arr
[
$menu_key
])
>
0
&&
$this
->
my_in_array
(
$page_key
,
$left_arr
[
$menu_key
]))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment