Message.php
802 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2019/12/30
* Time: 17:17
*/
namespace app\api\controller;
use app\common\controller\Api;
/**
* 平台消息模块
*/
class Message extends Api
{
/**
* @ApiTitle (平台消息列表)
* @ApiSummary (平台消息列表)
* @ApiMethod (POST)
* @ApiRoute (/api/message/index)
* @ApiReturn({
"code": 1,
"msg": "SUCCESS",
"time": "1553839125",
"data": {
'title'://标题,
'url': //跳转链接地址,
'form'://来源,
'look_num'://浏览量,
'thumbnail'://图片
'content'://内容,
'createtime'://创建时间
}
})
*/
public function index()
{
}
}