AbstractController.class.php 574 Bytes
<?php
/**
 * Created by PhpStorm.
 * User: liyifei
 * Date: 16/9/13
 * Time: 下午14:10
 */

namespace Api\Controller;

use Common\Controller\Api;

abstract class AbstractController extends Api\AbstractController
{

    // 默认页码
    const DEFAULT_PAGE = 1;
    // 默认每页条数
    const DEFAULT_LIMIT = 15;

    // 内部用户
    const INSIDE = 1;
    // 外部用户
    const OUTSIDE = 2;

    // 未填写
    const NO_WRITE = 0;
    // 已填写
    const IS_WRITE = 1;

    // 权限:所有人
    const IS_ALL = 1;
}