ListController.class.php
619 Bytes
<?php
/**
* 【销售活动-后台】活动列表接口
*
* User: WJY
* Date: 2017-11-02
*/
namespace Apicp\Controller\Activity;
use Common\Service\ActivityService;
class ListController extends \Apicp\Controller\AbstractController
{
/**
* 获取活动列表的主方法
*
* @return bool
*/
public function Index_post()
{
// 活动service
$_activity_serv = new ActivityService();
// 获取参数
$params = I('post.');
// 获取返回数据
$this->_result = $_activity_serv->get_list_admin($params);
return true;
}
}