admin
2020-06-02 7d7a3dd1dec31396c2fc48fd67ca3a031f016ccd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.ks.tool.bkz.controller;
 
import com.ks.tool.bkz.util.UrlUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
 
import java.util.Map;
 
@Controller
@RequestMapping("parse")
public class ParseController {
 
    @RequestMapping("getRequestUrl")
    @ResponseBody
    public String getRequestUrl(String baseUrl, String data) {
 
        String host = UrlUtil.getHost(baseUrl);
        Map<String, String> params = UrlUtil.getParamsMap(baseUrl);
//获取data
//        if(params.put())
 
 
        return "";
    }
 
 
    /**
     * 上传cookie
     *
     * @param cookies
     * @return
     */
 
    public String uploadCookie(String cookies) {
 
 
        return "";
    }
 
 
}