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
0ac45d7b
Commit
0ac45d7b
authored
Sep 19, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
评价
parent
000ea922
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
AppointmentTime.php
application/api/controller/AppointmentTime.php
+2
-1
PushClientService.php
application/api/service/PushClientService.php
+3
-1
No files found.
application/api/controller/AppointmentTime.php
View file @
0ac45d7b
...
...
@@ -357,7 +357,7 @@ class AppointmentTime extends Basic
// $where['user_id'] = 3;
$where
[
'status'
]
=
0
;
$where
[
'type'
]
=
[
'in'
,
'0,3'
];
$field
=
'id,operation_id,house_id,message,type'
;
$field
=
'id,operation_id,house_id,message,type
,other_id
'
;
$id
=
$m_push
->
getListByWhere
(
$field
,
$where
,
1
,
1
);
if
(
!
empty
(
$id
[
0
][
'id'
]))
{
...
...
@@ -370,6 +370,7 @@ class AppointmentTime extends Basic
$data
[
'type'
]
=
$id
[
0
][
'type'
];
$data
[
'operation_id'
]
=
$id
[
0
][
'operation_id'
];
$data
[
'house_id'
]
=
$id
[
0
][
'house_id'
];
$data
[
'record_id'
]
=
$id
[
0
][
'other_id'
];
}
...
...
application/api/service/PushClientService.php
View file @
0ac45d7b
...
...
@@ -68,11 +68,13 @@ class PushClientService
$push_data
=
$this
->
m_push
->
getDateLimit
(
$field
,
$where
,
100
);
foreach
(
$push_data
[
'data'
]
as
$k
=>
$v
)
{
$id
=
$v
[
'user_id'
];
switch
(
$v
[
'type'
])
{
case
0
:
$title
=
"评价经纪人"
;
$type
=
'evaluate'
;
$content
=
$v
[
'message'
];
$id
=
$v
[
'other_id'
];
break
;
case
1
:
$title
=
"新人专享返现红包"
;
...
...
@@ -89,7 +91,7 @@ class PushClientService
$type
=
'evaluate_again'
;
$content
=
$v
[
'message'
];
}
$this
->
pushAgentAllDeviceId
(
$v
[
'operation_id'
],
$title
,
$content
,
$type
,
$
v
[
'user_id'
]
,
$is_forbidden
,
$v
[
'house_id'
],
$v
[
'order_id'
],
$v
[
'message'
]);
$this
->
pushAgentAllDeviceId
(
$v
[
'operation_id'
],
$title
,
$content
,
$type
,
$
id
,
$is_forbidden
,
$v
[
'house_id'
],
$v
[
'order_id'
],
$v
[
'message'
]);
$id_array
[]
=
$v
[
'id'
];
}
...
...
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