Commit 05e7fbda16cd29d511bc9b196c79cc43cee79cb1
1 parent
94327af9
[留言板]后台留言详情接口
Showing
1 changed file
with
27 additions
and
0 deletions
trunk/Message/Apicp/Controller/Message/DetailController.class.php
0 → 100644
1 | +<?php | ||
2 | +/** | ||
3 | + * 留言详情 | ||
4 | + * User: <362431947@qq.com> | ||
5 | + * Date: 2018-10-12 Time: 18:03 | ||
6 | + */ | ||
7 | +namespace Apicp\Controller\Message; | ||
8 | + | ||
9 | +use Common\Model\MessageModel; | ||
10 | + | ||
11 | +class DetailController extends \Apicp\Controller\AbstractController | ||
12 | +{ | ||
13 | + /** | ||
14 | + * 留言详情 | ||
15 | + * User: <362431947@qq.com> | ||
16 | + * Date: 2018-10-11 Time: 11:51 | ||
17 | + */ | ||
18 | + public function detail_post() | ||
19 | + { | ||
20 | + $input = I('post.'); | ||
21 | + | ||
22 | + $message_id = intval($input['message_id']); | ||
23 | + | ||
24 | + $m_message = new MessageModel(); | ||
25 | + $this->_result = $m_message->message_detail(intval($message_id)); | ||
26 | + } | ||
27 | +} | ||
0 | \ No newline at end of file | 28 | \ No newline at end of file |