Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SooonerHotel
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
吴贤德
SooonerHotel
Commits
35b13d7c
Commit
35b13d7c
authored
5 years ago
by
吴贤德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
中心接口:媒资自动转推判断
parent
d4d79d0a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
CenterAction.class.php
SooonerHotel/App/Lib/Action/Api/CenterAction.class.php
+3
-1
No files found.
SooonerHotel/App/Lib/Action/Api/CenterAction.class.php
View file @
35b13d7c
...
...
@@ -71,6 +71,7 @@ class CenterAction extends Action
//echo $rawData."\n";
$json
=
json_decode
(
$rawData
,
true
);
$spid
=
$json
[
"spid"
];
$pushMode
=
$json
[
"push_mode"
];
//
$url
=
$json
[
"jsonUrl"
];
$content
=
file_get_contents
(
$url
);
...
...
@@ -119,8 +120,9 @@ class CenterAction extends Action
echo
'false'
;
}
}
if
(
$pushMode
==
"1"
)
{
$this
->
media_auto_push
(
$data
);
}
exit
;
}
...
...
This diff is collapsed.
Click to expand it.
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