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
a13ff3f6
Commit
a13ff3f6
authored
Jun 20, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公告修改
parent
5f7a4755
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
CellPhone.php
application/api_broker/controller/CellPhone.php
+1
-1
Feed.php
application/api_broker/controller/Feed.php
+2
-2
Notice.php
application/index/controller/Notice.php
+2
-1
No files found.
application/api_broker/controller/CellPhone.php
View file @
a13ff3f6
...
...
@@ -83,7 +83,7 @@ class CellPhone extends Basic
$phone_x
=
$aliYunPhone
->
getAliYunPhone
(
$phone_a
,
$phone_b
,
$is_privacy
);
//获取未绑定隐号
if
(
$phone_x
)
{
if
(
empty
(
$phone_x
)
)
{
$this
->
code
=
102
;
$this
->
msg
=
'号码使用完,请联系运营人员。'
;
return
$this
->
response
(
$this
->
code
,
$this
->
msg
,
$this
->
data
);
...
...
application/api_broker/controller/Feed.php
View file @
a13ff3f6
...
...
@@ -33,8 +33,8 @@ class Feed extends Basic
$where_0
[
'type'
]
=
1
;
$where_1
[
'status'
]
=
0
;
$where_1
[
'type'
]
=
0
;
$data
[
0
]
=
$push
->
getFeedInfo
(
$field
,
$where_0
,
'id desc'
);
$data
[
1
]
=
$push
->
getFeedInfo
(
$field
,
$where_1
,
'id desc'
);
$data
[]
=
$push
->
getFeedInfo
(
$field
,
$where_0
,
'id desc'
);
$data
[]
=
$push
->
getFeedInfo
(
$field
,
$where_1
,
'id desc'
);
}
else
{
//列表页
$pageNo
=
empty
(
$this
->
params
[
'pageNo'
])
?
1
:
$this
->
params
[
'pageNo'
];
...
...
application/index/controller/Notice.php
View file @
a13ff3f6
...
...
@@ -92,7 +92,8 @@ class Notice extends Basic
$service_push
=
new
PushMessageService
();
$url
=
'app/dist/index.html#/announcementDetails?id='
.
$this
->
m_push
->
id
;
$service_push
->
pushAll
(
$data
[
'title'
],
$data
[
'content'
],
$url
);
$this
->
m_push
->
editData
([
'link'
=>
CURRENT_URL
.
$url
],
$this
->
m_push
->
id
);
// $service_push->pushAll($data['title'], $data['content'], $url);
return
$this
->
response
(
200
,
'新增成功!'
);
}
...
...
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