mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2025-12-16 20:33:03 +00:00
@@ -56,7 +56,7 @@ public class ServerApi {
|
|||||||
|
|
||||||
|
|
||||||
@RouteMapping(value = "/:type/:key", method = RouteMethod.GET)
|
@RouteMapping(value = "/:type/:key", method = RouteMethod.GET)
|
||||||
public void parse(HttpServerResponse response, String type, String key) {
|
public void parseKey(HttpServerResponse response, String type, String key) {
|
||||||
String code = "";
|
String code = "";
|
||||||
if (key.contains("@")) {
|
if (key.contains("@")) {
|
||||||
String[] keys = key.split("@");
|
String[] keys = key.split("@");
|
||||||
@@ -71,8 +71,8 @@ public class ServerApi {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@RouteMapping(value = "/json/:type/:id", method = RouteMethod.GET)
|
@RouteMapping(value = "/json/:type/:key", method = RouteMethod.GET)
|
||||||
public Future<String> parseJson(HttpServerResponse response, String type, String key) {
|
public Future<String> parseKeyJson(HttpServerResponse response, String type, String key) {
|
||||||
String code = "";
|
String code = "";
|
||||||
if (key.contains("@")) {
|
if (key.contains("@")) {
|
||||||
String[] keys = key.split("@");
|
String[] keys = key.split("@");
|
||||||
|
|||||||
Reference in New Issue
Block a user