Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
c33309b8
Commit
c33309b8
authored
Sep 20, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
恢复
parent
9f760b9b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
AppointmentTime.php
application/api/controller/AppointmentTime.php
+4
-4
OrderLog.php
application/api_broker/controller/OrderLog.php
+1
-1
PushMessageService.php
application/api_broker/service/PushMessageService.php
+1
-1
No files found.
application/api/controller/AppointmentTime.php
View file @
c33309b8
...
@@ -237,7 +237,7 @@ class AppointmentTime extends Basic
...
@@ -237,7 +237,7 @@ class AppointmentTime extends Basic
public
function
getYetListV2
(
$pageNo
,
$pageSize
,
$params
)
public
function
getYetListV2
(
$pageNo
,
$pageSize
,
$params
)
{
{
$field
=
"a.id,a.report_agent_phone as phone,a.report_agent_id as agents_id,a.predict_see_time as expect_time,b.house_id,
$field
=
"a.id,a.report_agent_phone as phone,a.report_agent_id as agents_id,a.predict_see_time as expect_time,b.house_id,
d.external_title as house_title,d.residue_num as room_num_left, d.is_show,d.status,d.external_image_id,d.is_show_image
,c.id as march_in_id
"
;
d.external_title as house_title,d.residue_num as room_num_left, d.is_show,d.status,d.external_image_id,d.is_show_image"
;
$where_
[
"a.user_id"
]
=
$params
[
"user_id"
];
$where_
[
"a.user_id"
]
=
$params
[
"user_id"
];
// $result = $this->appointmentTimeModel->getHaveToSeeList($pageNo, $pageSize, "id desc", $field, $where_);
// $result = $this->appointmentTimeModel->getHaveToSeeList($pageNo, $pageSize, "id desc", $field, $where_);
$result
=
$this
->
reportModel
->
getHaveToSeeList
(
$pageNo
,
$pageSize
,
"id desc"
,
$field
,
$where_
);
$result
=
$this
->
reportModel
->
getHaveToSeeList
(
$pageNo
,
$pageSize
,
"id desc"
,
$field
,
$where_
);
...
@@ -264,7 +264,7 @@ class AppointmentTime extends Basic
...
@@ -264,7 +264,7 @@ class AppointmentTime extends Basic
}
}
}
}
$result
[
$key
][
"is_evaluate"
]
=
$this
->
isEvaluate
(
$val
[
"
march_in_
id"
],
$params
[
"user_id"
]);
$result
[
$key
][
"is_evaluate"
]
=
$this
->
isEvaluate
(
$val
[
"id"
],
$params
[
"user_id"
]);
}
}
return
$result
;
return
$result
;
}
}
...
@@ -309,7 +309,7 @@ class AppointmentTime extends Basic
...
@@ -309,7 +309,7 @@ class AppointmentTime extends Basic
public
function
getWaitListV2
(
$pageNo
,
$pageSize
,
$params
)
public
function
getWaitListV2
(
$pageNo
,
$pageSize
,
$params
)
{
{
$field
=
"a.id,a.report_agent_phone as phone,a.report_agent_id as agents_id,b.house_id,a.predict_see_time as expect_time,
$field
=
"a.id,a.report_agent_phone as phone,a.report_agent_id as agents_id,b.house_id,a.predict_see_time as expect_time,
d.external_title as house_title,d.residue_num as room_num_left
,c.id as march_in_id
"
;
d.external_title as house_title,d.residue_num as room_num_left"
;
$where_
[
"user_id"
]
=
$params
[
"user_id"
];
$where_
[
"user_id"
]
=
$params
[
"user_id"
];
...
@@ -336,7 +336,7 @@ class AppointmentTime extends Basic
...
@@ -336,7 +336,7 @@ class AppointmentTime extends Basic
}
}
}
}
//todo 是否评价
//todo 是否评价
$evaluateResult
=
$this
->
evaluateMode
->
getIsEvaluate
(
10
,
$val
[
"
march_in_
id"
],
$params
[
"user_id"
]);
$evaluateResult
=
$this
->
evaluateMode
->
getIsEvaluate
(
10
,
$val
[
"id"
],
$params
[
"user_id"
]);
$result
[
$key
][
"is_evaluate"
]
=
count
(
$evaluateResult
)
>
0
?
1
:
0
;
$result
[
$key
][
"is_evaluate"
]
=
count
(
$evaluateResult
)
>
0
?
1
:
0
;
}
}
return
$result
;
return
$result
;
...
...
application/api_broker/controller/OrderLog.php
View file @
c33309b8
...
@@ -93,7 +93,7 @@ class OrderLog extends Basic
...
@@ -93,7 +93,7 @@ class OrderLog extends Basic
//评价经纪人
//评价经纪人
$push_client
=
new
PushClientService
();
$push_client
=
new
PushClientService
();
$push_client
->
record
((
int
)
$params
[
"report_id"
],
(
int
)
$params
[
"order_id"
],
0
,
''
,
(
int
)
$this
->
agentId
,
0
,
$
insert_id
);
$push_client
->
record
((
int
)
$params
[
"report_id"
],
(
int
)
$params
[
"order_id"
],
0
,
''
,
(
int
)
$this
->
agentId
,
0
,
$
params
[
"report_id"
]
);
//经纬度
//经纬度
if
(
!
empty
(
$params
[
'longitude'
])
&&
!
empty
(
$params
[
'latitude'
]))
{
if
(
!
empty
(
$params
[
'longitude'
])
&&
!
empty
(
$params
[
'latitude'
]))
{
...
...
application/api_broker/service/PushMessageService.php
View file @
c33309b8
...
@@ -141,7 +141,7 @@ class PushMessageService
...
@@ -141,7 +141,7 @@ class PushMessageService
//意向金推送
//意向金推送
if
(
$type_source
==
10
)
{
if
(
$type_source
==
10
)
{
$push
=
new
PushClientService
();
$push
=
new
PushClientService
();
$push
->
record
(
$report_id
,
$report_data
[
'order_id'
],
3
,
''
,
$operation_id
,
$report_data
[
'user_id'
]);
$push
->
record
(
$report_id
,
$report_data
[
'order_id'
],
3
,
''
,
$operation_id
,
$report_data
[
'user_id'
]
,
$report_id
);
}
}
return
;
return
;
}
}
...
...
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