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
70881814
Commit
70881814
authored
Dec 24, 2019
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
芜湖放心看
parent
54fc343d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
12 deletions
+38
-12
zsb_api_model.php
new_admincp/applications/models/zsb_api_model.php
+1
-0
sell.php
new_admincp/applications/zsb/controllers/sell.php
+13
-11
sell_manage.php
new_admincp/applications/zsb/views/nj/sell_manage.php
+24
-1
No files found.
new_admincp/applications/models/zsb_api_model.php
View file @
70881814
...
@@ -16,6 +16,7 @@ class zsb_api_model extends MY_Model{
...
@@ -16,6 +16,7 @@ class zsb_api_model extends MY_Model{
'realCheckPay'
=>
'/zsbapi/real-manage/real-check-pay'
,
//支付检查
'realCheckPay'
=>
'/zsbapi/real-manage/real-check-pay'
,
//支付检查
'realHouseRemit'
=>
'/zsbapi/real-manage/real-house-remit'
,
//放心看提现
'realHouseRemit'
=>
'/zsbapi/real-manage/real-house-remit'
,
//放心看提现
'setRealHouse'
=>
'/zsbapi/real-manage/set-real-house'
,
//放心看设置
'setRealHouse'
=>
'/zsbapi/real-manage/set-real-house'
,
//放心看设置
'cancleRealHouse'
=>
'/zsbapi/real-manage/cancle-real-house'
,
//放心看设置
'reportRecord'
=>
'/zsbapi/house/report-record'
,
//举报记录
'reportRecord'
=>
'/zsbapi/house/report-record'
,
//举报记录
'reportRecordAppeal'
=>
'/zsbapi/house/report-record-appeal'
,
//申诉记录展示
'reportRecordAppeal'
=>
'/zsbapi/house/report-record-appeal'
,
//申诉记录展示
'realHouseAppeal'
=>
'/zsbapi/house/real-house-appeal'
,
//房源举报申诉
'realHouseAppeal'
=>
'/zsbapi/house/real-house-appeal'
,
//房源举报申诉
...
...
new_admincp/applications/zsb/controllers/sell.php
View file @
70881814
...
@@ -4137,20 +4137,13 @@ class Sell extends MY_Controller {
...
@@ -4137,20 +4137,13 @@ class Sell extends MY_Controller {
if
(
$this
->
_total_count
>
0
)
if
(
$this
->
_total_count
>
0
)
{
{
if
(
GB_CITY
==
'nj'
)
{
$select_fields
=
array
(
'id'
,
'ownid'
,
'infotype'
,
'infofrom'
,
'agentcode'
,
'uid'
,
'esta'
,
'district'
,
'address'
,
'streetid'
,
'blockid'
,
'isreal'
,
'blockshowname'
,
'buildyear'
,
'buildarea'
,
'subfloor'
,
'floor'
,
'totalfloor'
,
'room'
,
'hall'
,
'toilet'
,
'kitchen'
,
'balcony'
,
'forward'
,
'price'
,
'averprice'
,
'priceterm'
,
'pricetype'
,
'fitment'
,
'contactor'
,
'telno'
,
'creattime'
,
'updatetime'
,
'expiretime'
,
'isstar'
,
'istag'
,
'nofee'
,
'is360'
,
'is_real_house'
,
'vr_model_id'
);
}
else
{
$select_fields
=
array
(
'id'
,
'ownid'
,
'infotype'
,
'infofrom'
,
'agentcode'
,
'uid'
,
'esta'
,
'district'
,
'address'
,
$select_fields
=
array
(
'id'
,
'ownid'
,
'infotype'
,
'infofrom'
,
'agentcode'
,
'uid'
,
'esta'
,
'district'
,
'address'
,
'streetid'
,
'blockid'
,
'isreal'
,
'blockshowname'
,
'buildyear'
,
'buildarea'
,
'streetid'
,
'blockid'
,
'isreal'
,
'blockshowname'
,
'buildyear'
,
'buildarea'
,
'subfloor'
,
'floor'
,
'totalfloor'
,
'room'
,
'hall'
,
'toilet'
,
'kitchen'
,
'balcony'
,
'subfloor'
,
'floor'
,
'totalfloor'
,
'room'
,
'hall'
,
'toilet'
,
'kitchen'
,
'balcony'
,
'forward'
,
'price'
,
'averprice'
,
'priceterm'
,
'pricetype'
,
'fitment'
,
'contactor'
,
'forward'
,
'price'
,
'averprice'
,
'priceterm'
,
'pricetype'
,
'fitment'
,
'contactor'
,
'telno'
,
'creattime'
,
'updatetime'
,
'expiretime'
,
'isstar'
,
'istag'
,
'nofee'
,
'is360'
);
'telno'
,
'creattime'
,
'updatetime'
,
'expiretime'
,
'isstar'
,
'istag'
,
'nofee'
,
'is360'
,
'is_real_house'
);
}
$this
->
sell_model
->
set_select_fields
(
$select_fields
);
$this
->
sell_model
->
set_select_fields
(
$select_fields
);
$data_info
=
$this
->
sell_model
->
find_all_by
(
$cond_where
,
$this
->
_offset
,
$data_info
=
$this
->
sell_model
->
find_all_by
(
$cond_where
,
$this
->
_offset
,
$this
->
_limit
,
$order_arr
[
'order_key'
]
,
$order_arr
[
'order_by'
]
);
$this
->
_limit
,
$order_arr
[
'order_key'
]
,
$order_arr
[
'order_by'
]
);
...
@@ -7025,9 +7018,18 @@ class Sell extends MY_Controller {
...
@@ -7025,9 +7018,18 @@ class Sell extends MY_Controller {
$house_id
=
$this
->
input
->
post
(
'house_id'
);
$house_id
=
$this
->
input
->
post
(
'house_id'
);
$this
->
load
->
model
(
'zsb_api_model'
);
$this
->
load
->
model
(
'zsb_api_model'
);
$re
=
$this
->
zsb_api_model
->
getRequrstData
(
'setRealHouse'
,
array
(
'house_id'
=>
$house_id
));
$re
=
$this
->
zsb_api_model
->
getRequrstData
(
'setRealHouse'
,
array
(
'house_id'
=>
$house_id
));
echo
json_encode
(
$re
);
die
;
}
}
/*
* 取消放心看
*/
public
function
cancleRealHouse
(){
$house_id
=
$this
->
input
->
post
(
'house_id'
);
$this
->
load
->
model
(
'zsb_api_model'
);
$re
=
$this
->
zsb_api_model
->
getRequrstData
(
'cancleRealHouse'
,
array
(
'house_id'
=>
$house_id
));
echo
json_encode
(
$re
);
die
;
}
}
}
...
...
new_admincp/applications/zsb/views/nj/sell_manage.php
View file @
70881814
...
@@ -463,7 +463,7 @@
...
@@ -463,7 +463,7 @@
<?php
if
((
$realHouse
==
1
)
&&
(
$value
[
'infotype'
]
==
1
||
$value
[
'infotype'
]
==
2
))
{
?>
<?php
if
((
$realHouse
==
1
)
&&
(
$value
[
'infotype'
]
==
1
||
$value
[
'infotype'
]
==
2
))
{
?>
<?php
if
(
$value
[
'is_real_house'
]
==
1
){
?>
<?php
if
(
$value
[
'is_real_house'
]
==
1
){
?>
<div
class=
"pic"
onClick=
"c
hange_real(
<?php
echo
$value
[
'id'
];
?>
, '
<?php
echo
md5
(
"HOUSE365_REAL_SET_"
.
$value
[
"id"
]);
?>
'
)"
>
<div
class=
"pic"
onClick=
"c
ancle_real(
<?php
echo
$value
[
'id'
];
?>
)"
>
<img
alt=
"取消放心看设置"
src=
"
<?=
STATIC_SOURCE_URL
?>
/zsb/images/v1.0/look.png"
/>
<img
alt=
"取消放心看设置"
src=
"
<?=
STATIC_SOURCE_URL
?>
/zsb/images/v1.0/look.png"
/>
<em
class=
"btn btnT"
style=
"right: -16px;"
></em>
<em
class=
"btn btnT"
style=
"right: -16px;"
></em>
<input
type=
"hidden"
name =
"is_real_
<?php
echo
$value
[
'id'
];
?>
"
id =
"is_real_
<?php
echo
$value
[
'id'
];
?>
"
value =
'1'
fors=
"
<?php
echo
$value
[
'vr_model_id'
];
?>
"
>
<input
type=
"hidden"
name =
"is_real_
<?php
echo
$value
[
'id'
];
?>
"
id =
"is_real_
<?php
echo
$value
[
'id'
];
?>
"
value =
'1'
fors=
"
<?php
echo
$value
[
'vr_model_id'
];
?>
"
>
...
@@ -1518,6 +1518,29 @@ function change_real(rowid)
...
@@ -1518,6 +1518,29 @@ function change_real(rowid)
});
});
}
}
function
cancle_real
(
rowid
)
{
$
.
ajax
({
type
:
'POST'
,
url
:
'/sell/cancleRealHouse'
,
data
:
{},
dataType
:
'JSON'
,
success
:
function
(
re
)
{
if
(
re
.
result
!=
1
){
waringOpen
(
re
.
msg
);
return
false
;
}
layer
.
msg
(
re
.
msg
);
setTimeout
(
function
()
{
window
.
location
.
href
=
'/sell/manage'
;
},
1000
);
},
complete
:
function
()
{
layer
.
close
(
index
);
}
});
}
function
waringOpen
(
msg
)
{
function
waringOpen
(
msg
)
{
layer
.
alert
(
msg
,
{
layer
.
alert
(
msg
,
{
title
:
'放心看'
,
title
:
'放心看'
,
...
...
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