IUtilsApi interface
工具類Api接口。
public interface IUtilsApi
1
Members
name | description |
---|---|
AddWaterMark(…) | 根據後台設置爲(wéi / wèi)圖片添加水印。 |
CreateZip(…) | 壓縮文件夾。 |
Decrypt(…) | 根據Web.config中設置的(de)SecretKey解密字符串。 |
Encrypt(…) | 根據Web.config中設置的(de)SecretKey加密字符串。 |
ExtractZip(…) | 解壓縮文件夾。 |
FilterSql(…) | 防Sql注入過濾。 |
FilterXss(…) | 防XSS攻擊過濾。 |
GetAdminDirectoryUrl(…) | 獲取管理後台文件訪問Url地(dì / de)址。 |
GetRootUrl(…) | 獲取系統根目錄訪問Url地(dì / de)址。 |
GetTemporaryFilesPath(…) | 獲取系統臨時(shí)文件夾的(de)絕對路徑。 |
GetUploadFilePath(…) | 根據後台設置獲取指定文件名的(de)上(shàng)傳路徑。 |
MoveFiles(…) | 跨站轉移文件。 |