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
4391103f
Commit
4391103f
authored
Dec 30, 2019
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
api
parent
0350b78e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
sell.php
new_admincp/applications/zsb/controllers/sell.php
+3
-1
broker_model.php
new_admincp/applications/zsb/models/broker_model.php
+3
-1
No files found.
new_admincp/applications/zsb/controllers/sell.php
View file @
4391103f
...
...
@@ -2225,6 +2225,7 @@ class Sell extends MY_Controller {
$realHouseNum
=
$this
->
real_house_model
->
getUidRealHouseNum
(
$uid
);
$infotype
=
$house_detail
[
'infotype'
];
$is_show_real
=
0
;
if
(
$is_open_real_house
&&
$realNumLimit
>
0
&&
$realHouseNum
<=
$realNumLimit
&&
in_array
(
$infotype
,
array
(
1
,
2
))){
$is_show_real
=
1
;
}
...
...
@@ -2618,7 +2619,8 @@ class Sell extends MY_Controller {
}
$this
->
load
->
model
(
'real_house_model'
);
$fields_values
[
'is_real_house'
]
=
$real_house_set
;
//$fields_values['is_real_house'] = $real_house_set;
$isRealHouse
=
$this
->
real_house_model
->
getInfoByRowid
(
$house_id
);
$isRealHouseNew
=
$this
->
real_house_model
->
get_real_house_sell_info
(
$house_id
);
//print_r($isRealHouseNew[0]['is_real_house']);die;
...
...
new_admincp/applications/zsb/models/broker_model.php
View file @
4391103f
...
...
@@ -998,13 +998,14 @@ class Broker_model extends Broker_base_model {
if
(
GB_CITY
==
'nj'
){
$this
->
db
->
select
(
'usetime,starlevel,freeze_num,upgrade_time,mistake_time,real_status,package_id'
);
}
else
{
$this
->
db
->
select
(
'usetime,starlevel,freeze_num,upgrade_time,mistake_time,package_id'
);
$this
->
db
->
select
(
'usetime,starlevel,freeze_num,upgrade_time,mistake_time,package_id
,real_status
'
);
}
}
$cond_where
=
"uid = '"
.
$uid
.
"'"
;
$this
->
db
->
where
(
$cond_where
);
$arr_data
=
$this
->
db
->
get
(
'broker'
)
->
result_array
();
//print_r($arr_data);die;
...
...
@@ -1067,6 +1068,7 @@ class Broker_model extends Broker_base_model {
$arr_data
[
'0'
][
'distance_month'
]
=
$distance_month
;
$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