admin/app/frontend/modules/finance/interfaces/IIncomePage.php

102 lines
1.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* Created by PhpStorm.
*
* User: king/QQ995265288
* Date: 2018/5/8 下午2:07
* Email: livsyitian@163.com
*/
namespace app\frontend\modules\finance\interfaces;
interface IIncomePage
{
/**
* 对应收入唯一标示
*
* @return string
*/
function getMark();
/**
* 系统设置是否显示
*
* @return bool
*/
function isShow();
/**
* 是否可用状态(属于更多权限或可用权限)
*
* @return bool
*/
function isAvailable();
/**
* 对应收入名称
*
* @return string
*/
function getTitle();
/**
* 对应收入图标
*
* @return string
*/
function getIcon();
/**
* 对应收入 type 字段 value 值 或 该收入的金额值(计算好直接传过来的值)
*
* @return string
*/
function getTypeValue();
/**
* 对应收入 等级
*
* @return string
*/
function getLevel();
/**
* app 访问url
*
* @return string
*/
function getAppUrl();
/**
* 是否需要验证是推客true 需要false 不需要
*
* @return mixed
*/
function needIsAgent();
/**
* 是否需要验证开启关系链true 需要false 不需要
*
* @return mixed
*/
function needIsRelation();
/**
* 小程序 访问url
*
* @return string
*/
//function getMiniUrl();
}