AuthSiteServiceInterface.php 384 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php

declare(strict_types=1);

namespace Meibuyu\Rpc\Service\Interfaces\Order;


/**
 * @author chentianyu
 */
interface AuthSiteServiceInterface
{
    /**
     * 获取查看权限的站点,全部权限返回 ALL,否则返回站点数组
     * @param $userId
     * @return array|string
     * @author chentianyu
     */
    public function getAuthSiteViewByUserId($userId);
}