public class DwzDeleteUtil extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private static String |
DELETE_API
短网址刪除接口
|
private static String |
TOKEN
由数字和字母组成的32位字符,在调用 API接口 时,用于鉴权
|
| 构造器和说明 |
|---|
DwzDeleteUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UrlResponse |
deleteShortUrl(String shortPath)
刪除短网址
|
static UrlResponse |
deleteShortUrlSuffix(String shortPathSuffix)
刪除短网址
|
static void |
main(String[] args) |
public static UrlResponse deleteShortUrl(String shortPath)
shortPath - 短网址public static UrlResponse deleteShortUrlSuffix(String shortPathSuffix)
shortPathSuffix - 短网址后缀,如http://dwz.cn/testPath中的testPathpublic static void main(String[] args)
Copyright © 2025. All rights reserved.