Commit 94327af9647ad7025b4665dcd6b9aa2539a67d97

Authored by zhang
1 parent 2bfd630d

[留言板]后台留言列表优化

trunk/Message/Apicp/Controller/Message/ListController.class.php 0 → 100644
  1 +<?php
  2 +/**
  3 + * 后台留言展示列表
  4 + * User: <362431947@qq.com>
  5 + * Date: 2018-10-12 Time: 17:58
  6 + */
  7 +namespace Apicp\Controller\Message;
  8 +
  9 +use Common\Model\MessageModel;
  10 +
  11 +class ListController extends \Apicp\Controller\AbstractController
  12 +{
  13 + /**
  14 + * 留言信息列表
  15 + * User: <362431947@qq.com>
  16 + * Date: 2018-10-11 Time: 9:58
  17 + */
  18 + public function Index_post()
  19 + {
  20 + $input = I('post.');
  21 +
  22 + $page = intval($input['page']);
  23 +
  24 + unset($input['page']);
  25 +
  26 + $m_message = new MessageModel();
  27 +
  28 + $this->_result = $m_message->messageList($input,$page);
  29 + }
  30 +}
0 31 \ No newline at end of file
... ...