1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- namespace Main\Lib;
- use Dever;
- class Preview
- {
- public function article_api()
- {
- $id = Dever::input('id');
- $data = Dever::load('content/lib/article')->get($id);
-
- return $data;
- }
- public function vod_api()
- {
- $id = Dever::input('id');
- $data = Dever::load('content/lib/article')->get($id);
-
- return $data;
- }
- public function live_api()
- {
- $id = Dever::input('id');
- $data = Dever::load('content/lib/article')->get($id);
-
- return $data;
- }
- public function journal_api()
- {
- $id = Dever::input('id');
- $data = Dever::load('content/lib/article')->get($id);
-
- return $data;
- }
- }
|