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
b67b91f3
Commit
b67b91f3
authored
Dec 30, 2019
by
weizhicheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.house365.com/zhangkuanguang/fenzhan_agent
parents
f1414416
4391103f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
zsb_api_model.php
new_admincp/applications/models/zsb_api_model.php
+1
-1
sell.php
new_admincp/applications/zsb/controllers/sell.php
+3
-1
broker_model.php
new_admincp/applications/zsb/models/broker_model.php
+5
-3
No files found.
new_admincp/applications/models/zsb_api_model.php
View file @
b67b91f3
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
class
zsb_api_model
extends
MY_Model
{
class
zsb_api_model
extends
MY_Model
{
private
$host
=
'http://newrent
t
.house365.com'
;
private
$host
=
'http://newrent.house365.com'
;
private
$apiSource
=
'PC'
;
// 访问API使用的公用source
private
$apiSource
=
'PC'
;
// 访问API使用的公用source
private
$apiVersion
=
'1.0.0'
;
// 访问API使用的公用版本号
private
$apiVersion
=
'1.0.0'
;
// 访问API使用的公用版本号
private
$token
=
'ZSB_API'
;
private
$token
=
'ZSB_API'
;
...
...
new_admincp/applications/zsb/controllers/sell.php
View file @
b67b91f3
...
@@ -2225,6 +2225,7 @@ class Sell extends MY_Controller {
...
@@ -2225,6 +2225,7 @@ class Sell extends MY_Controller {
$realHouseNum
=
$this
->
real_house_model
->
getUidRealHouseNum
(
$uid
);
$realHouseNum
=
$this
->
real_house_model
->
getUidRealHouseNum
(
$uid
);
$infotype
=
$house_detail
[
'infotype'
];
$infotype
=
$house_detail
[
'infotype'
];
$is_show_real
=
0
;
$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
))){
$is_show_real
=
1
;
$is_show_real
=
1
;
}
}
...
@@ -2618,7 +2619,8 @@ class Sell extends MY_Controller {
...
@@ -2618,7 +2619,8 @@ class Sell extends MY_Controller {
}
}
$this
->
load
->
model
(
'real_house_model'
);
$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
);
$isRealHouse
=
$this
->
real_house_model
->
getInfoByRowid
(
$house_id
);
$isRealHouseNew
=
$this
->
real_house_model
->
get_real_house_sell_info
(
$house_id
);
$isRealHouseNew
=
$this
->
real_house_model
->
get_real_house_sell_info
(
$house_id
);
//print_r($isRealHouseNew[0]['is_real_house']);die;
//print_r($isRealHouseNew[0]['is_real_house']);die;
...
...
new_admincp/applications/zsb/models/broker_model.php
View file @
b67b91f3
...
@@ -998,13 +998,14 @@ class Broker_model extends Broker_base_model {
...
@@ -998,13 +998,14 @@ class Broker_model extends Broker_base_model {
if
(
GB_CITY
==
'nj'
){
if
(
GB_CITY
==
'nj'
){
$this
->
db
->
select
(
'usetime,starlevel,freeze_num,upgrade_time,mistake_time,real_status,package_id'
);
$this
->
db
->
select
(
'usetime,starlevel,freeze_num,upgrade_time,mistake_time,real_status,package_id'
);
}
else
{
}
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
.
"'"
;
$cond_where
=
"uid = '"
.
$uid
.
"'"
;
$this
->
db
->
where
(
$cond_where
);
$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;
//print_r($arr_data);die;
...
@@ -1066,7 +1067,8 @@ class Broker_model extends Broker_base_model {
...
@@ -1066,7 +1067,8 @@ class Broker_model extends Broker_base_model {
$arr_data
[
'0'
][
'next_update_day'
]
=
$next_update_day
;
$arr_data
[
'0'
][
'next_update_day'
]
=
$next_update_day
;
$arr_data
[
'0'
][
'distance_month'
]
=
$distance_month
;
$arr_data
[
'0'
][
'distance_month'
]
=
$distance_month
;
$arr_data
[
'0'
][
'distance_days'
]
=
$distance_days
;
$arr_data
[
'0'
][
'distance_days'
]
=
$distance_days
;
$arr_data
[
'0'
][
'package_id'
]
=
$arr_data
[
'0'
][
'package_id'
];
$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;
//print_r($arr_data);die;
return
$arr_data
;
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