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
c51bd518
Commit
c51bd518
authored
Apr 23, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
追评文字
parent
4adfc07b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
AppointmentTime.php
application/api/controller/AppointmentTime.php
+12
-3
No files found.
application/api/controller/AppointmentTime.php
View file @
c51bd518
...
...
@@ -346,19 +346,28 @@ class AppointmentTime extends Basic
try
{
$m_push
=
new
OPushMessageModel
();
$where
[
'user_id'
]
=
$this
->
userId
;
// $where['user_id'] = 1
22
;
// $where['user_id'] = 1
35399
;
$where
[
'status'
]
=
0
;
$where
[
'type'
]
=
0
;
$where
[
'type'
]
=
[
'in'
,
'0,3'
]
;
$id
=
$m_push
->
getListByWhere
(
'id,operation_id,message'
,
$where
,
1
,
1
);
$id
=
$m_push
->
getListByWhere
(
'id,operation_id,message
,type
'
,
$where
,
1
,
1
);
if
(
empty
(
$id
[
0
][
'id'
]))
{
$data
[
'is_alert'
]
=
0
;
}
else
{
$data
[
'name'
]
=
$id
[
0
][
'message'
];
$data
[
'is_alert'
]
=
1
;
$type
=
$id
[
0
][
'type'
];
$str
=
'同联商业邀请您评价经纪人\n'
;
switch
(
$type
)
{
case
0
:
$data
[
'alert_msg'
]
=
$str
.
$id
[
0
][
'message'
]
.
'的商铺带看服务'
;
break
;
case
3
:
$data
[
'alert_msg'
]
=
$str
.
$id
[
0
][
'message'
]
.
'的商铺成交服务'
;
break
;
}
}
}
catch
(
\Exception
$e
)
{
$data
=
[];
$msg
=
"内部错误:"
.
$e
->
getMessage
();
...
...
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