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
c7041710
Commit
c7041710
authored
Dec 26, 2019
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
芜湖放心看
parent
e688279c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
sell.php
new_admincp/applications/zsb/controllers/sell.php
+16
-7
No files found.
new_admincp/applications/zsb/controllers/sell.php
View file @
c7041710
...
@@ -4873,13 +4873,6 @@ class Sell extends MY_Controller {
...
@@ -4873,13 +4873,6 @@ class Sell extends MY_Controller {
if
(
$invalid_num
>
0
)
if
(
$invalid_num
>
0
)
{
{
$this
->
load
->
model
(
'real_house_model'
);
$isRealHouse
=
$this
->
real_house_model
->
getInfoByRowid
(
$rowid_str
);
if
(
$isRealHouse
)
{
$this
->
real_house_model
->
insertReal_House_Set_log
(
$uid
,
$rowid_str
,
0
,
3
);
$this
->
real_house_model
->
updateRealHouse
(
$rowid_str
);
}
//加载中间件统计类
//加载中间件统计类
$this
->
load
->
library
(
'statistics'
);
$this
->
load
->
library
(
'statistics'
);
...
@@ -4910,6 +4903,20 @@ class Sell extends MY_Controller {
...
@@ -4910,6 +4903,20 @@ class Sell extends MY_Controller {
foreach
(
$arr_id
as
$rowid
)
foreach
(
$arr_id
as
$rowid
)
{
{
$this
->
load
->
model
(
'real_house_model'
);
$isRealHouse
=
$this
->
real_house_model
->
getInfoByRowid
(
$rowid
);
if
(
$isRealHouse
)
{
//下架放心看
$this
->
load
->
model
(
'zsb_api_model'
);
$re
=
$this
->
zsb_api_model
->
getRequrstData
(
'cancleRealHouse'
,
array
(
'house_id'
=>
$rowid
,
'reason'
=>
3
));
/* $this->real_house_model->insertReal_House_Set_log($uid, $rowid_str, 0, 3);
$this->real_house_model->updateRealHouse($rowid_str);*/
}
/*** 2、失效标签、Real房 ****/
/*** 2、失效标签、Real房 ****/
$house_info
=
array
(
'id'
=>
$rowid
);
$house_info
=
array
(
'id'
=>
$rowid
);
$this
->
sell_tag_model
->
set_houseinfo
(
$house_info
);
$this
->
sell_tag_model
->
set_houseinfo
(
$house_info
);
...
@@ -4928,6 +4935,8 @@ class Sell extends MY_Controller {
...
@@ -4928,6 +4935,8 @@ class Sell extends MY_Controller {
/*** 5、提交房源操作日志给MYSQL(经纪人日志查询),[$msg:4-失效房源] ***/
/*** 5、提交房源操作日志给MYSQL(经纪人日志查询),[$msg:4-失效房源] ***/
$this
->
sell_model
->
action_log
(
$agentcode
,
$uid
,
$tbl
,
$rowid
,
$msg
);
$this
->
sell_model
->
action_log
(
$agentcode
,
$uid
,
$tbl
,
$rowid
,
$msg
);
}
}
$page_text
=
'操作成功,共失效了'
.
$invalid_num
.
'条房源'
;
$page_text
=
'操作成功,共失效了'
.
$invalid_num
.
'条房源'
;
}
}
...
...
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