Commit 810ae410b341fd28c66cdcd54ca67777bd7c3013
1 parent
8a8f2af0
[留言板]后台留言审核
Showing
1 changed file
with
29 additions
and
0 deletions
trunk/Message/Apicp/Controller/Message/CheckController.class.php
0 → 100644
1 | +<?php | ||
2 | +/** | ||
3 | + * 留言审核 | ||
4 | + * User: <362431947@qq.com> | ||
5 | + * Date: 2018-10-12 Time: 18:11 | ||
6 | + */ | ||
7 | +namespace Apicp\Controller\Message; | ||
8 | + | ||
9 | +use Common\Model\MessageModel; | ||
10 | + | ||
11 | +class CheckController extends \Apicp\Controller\AbstractController | ||
12 | +{ | ||
13 | + /** | ||
14 | + * 留言审核 | ||
15 | + * User: <362431947@qq.com> | ||
16 | + * Date: 2018-10-11 Time: 20:59 | ||
17 | + */ | ||
18 | + public function Index_post() | ||
19 | + { | ||
20 | + $input = I('post.'); | ||
21 | + | ||
22 | + $message_id = $input['message_id']; | ||
23 | + $checked = $input['checked']; | ||
24 | + | ||
25 | + $m_message = new MessageModel(); | ||
26 | + | ||
27 | + $m_message->check($message_id,$checked); | ||
28 | + } | ||
29 | +} | ||
0 | \ No newline at end of file | 30 | \ No newline at end of file |