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
61bbd9a3
Commit
61bbd9a3
authored
Dec 30, 2019
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
api
parent
efd66c52
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
broker_base_model.php
new_admincp/applications/models/broker_base_model.php
+1
-1
sell.php
new_admincp/applications/zsb/controllers/sell.php
+2
-2
broker_model.php
new_admincp/applications/zsb/models/broker_model.php
+1
-3
No files found.
new_admincp/applications/models/broker_base_model.php
View file @
61bbd9a3
...
...
@@ -125,7 +125,7 @@ class Broker_base_model extends MY_Model {
$this
->
dbback
->
select
(
"uid,username,truename,agentcode,telno,expiredate,postlimit,groupid,is_warn,valid_flag,smallphoto,package_id,festa,is_pay,master,nofee_num,favtag_num,regdate,password,qq,email,idno,selfdesc,skill,starlevel,usetime,real_status,alipay_acount"
);
}
else
{
$this
->
dbback
->
select
(
"uid,username,truename,agentcode,telno,expiredate,postlimit,groupid,is_warn,valid_flag,smallphoto,package_id,festa,is_pay,master,nofee_num,favtag_num,regdate,password,qq,email,idno,selfdesc,skill,starlevel,usetime,alipay_acount"
);
$this
->
dbback
->
select
(
"uid,username,truename,agentcode,telno,expiredate,postlimit,groupid,is_warn,valid_flag,smallphoto,package_id,festa,is_pay,master,nofee_num,favtag_num,regdate,password,qq,email,idno,selfdesc,skill,starlevel,usetime,alipay_acount
,real_status
"
);
}
//查询条件
$this
->
dbback
->
where
(
"uid = '"
.
$this
->
_uid
.
"'"
);
...
...
new_admincp/applications/zsb/controllers/sell.php
View file @
61bbd9a3
...
...
@@ -2168,7 +2168,7 @@ class Sell extends MY_Controller {
//获取经纪人星级//20160309 xue add
$this
->
load
->
model
(
'broker_model'
);
$broker_info
=
$this
->
broker_model
->
get_broker_info
();
$real_status
=
$broker_info
[
'real_status'
];
$data_page
[
'broker_starlevel'
]
=
$broker_info
[
'starlevel'
];
//当天发布共获得多少成长值
...
...
@@ -2225,7 +2225,7 @@ class Sell extends MY_Controller {
$infotype
=
$house_detail
[
'infotype'
];
$is_show_real
=
0
;
if
(
$is_open_real_house
&&
$realNumLimit
>
0
&&
$realHouseNum
<=
$realNumLimit
&&
in_array
(
$infotype
,
array
(
1
,
2
))){
if
(
$is_open_real_house
&&
$realNumLimit
>
0
&&
$realHouseNum
<=
$realNumLimit
&&
in_array
(
$infotype
,
array
(
1
,
2
))
&&
$real_status
){
$is_show_real
=
1
;
}
$data_page
[
'is_show_real'
]
=
$is_show_real
;
...
...
new_admincp/applications/zsb/models/broker_model.php
View file @
61bbd9a3
...
...
@@ -1003,8 +1003,7 @@ class Broker_model extends Broker_base_model {
}
$cond_where
=
"uid = '"
.
$uid
.
"'"
;
$this
->
db
->
where
(
$cond_where
);
$arr_data
=
$this
->
db
->
get
(
'broker'
)
->
result_array
();
$arr_data
=
$this
->
db
->
get
(
'broker'
)
->
result_array
();
//print_r($arr_data);die;
...
...
@@ -1069,7 +1068,6 @@ class Broker_model extends Broker_base_model {
$arr_data
[
'0'
][
'distance_days'
]
=
$distance_days
;
$arr_data
[
'0'
][
'package_id'
]
=
$arr_data
[
'0'
][
'package_id'
];
$arr_data
[
'0'
][
'real_status'
]
=
$arr_data
[
'0'
][
'real_status'
];
//print_r($arr_data);die;
return
$arr_data
;
}
...
...
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