Clean code

This commit is contained in:
FongMi 2024-02-01 11:18:39 +08:00
parent 81cd2ff36b
commit a85a745943
3 changed files with 2 additions and 6 deletions

View File

@ -456,11 +456,7 @@ public class AliYun {
} }
private String proxyVideoUrl(String cate, String shareId, String fileId) { private String proxyVideoUrl(String cate, String shareId, String fileId) {
int thread = 1; return ProxyVideo.url(String.format(Proxy.getUrl() + "?do=ali&type=video&cate=%s&shareId=%s&fileId=%s", cate, shareId, fileId), 20);
String url = String.format(Proxy.getUrl() + "?do=ali&type=video&cate=%s&shareId=%s&fileId=%s", cate, shareId, fileId);
if ("open".equals(cate)) thread = 10;
if ("share".equals(cate)) thread = 10;
return thread == 1 ? url : ProxyVideo.url(url, thread);
} }
private String proxyVideoUrl(String cate, String shareId, String fileId, String templateId) { private String proxyVideoUrl(String cate, String shareId, String fileId, String templateId) {

Binary file not shown.

View File

@ -1 +1 @@
349a7accbf77c311dc3b82150a9f29ea a6e70c754f96ee89d1dc455a87f9eae0