ISiteApi interface

站点Api接口。


public interface ISiteApi

Members

| name | description |

| —- | —- |

| GetSiteIdByFilePath(…) | 通过目录/文件的绝对路径获取站点Id。 |

| GetSiteIdList() | 获取系统中的所有站点的Id列表。 |

| GetSiteInfo(…) | 通过站点Id获取指定站点的对象实体。 |

| GetSitePath(…) | 获取站点文件夹绝对路径。 (2 methods) |

| GetSiteUrl(…) | 获取站点访问Url地址。 (2 methods) |

| GetSiteUrlByFilePath(…) | 根据文件的绝对地址计算此文件的访问Url地址。 |

See Also

  • namespace SiteServer.Plugin