admin
2024-10-30 010ef2a907e66efd4702443c06cdd18f8a7ffa5b
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
package com.hxh.spring.test;
 
import java.util.HashMap;
import java.util.Map;
 
import com.yeshi.buwan.util.DESUtil;
import com.yeshi.buwan.util.HttpUtil;
 
public class HomeAd {
 
    @org.junit.Test
    public void test1() {
        Map<String, String> map = new HashMap<>();
        map.put("Uid", "18953933");
        map.put("Vtid", "309");
        map.put("Platform", "Android");
        map.put("Version", "70");
        map.put("Device", "864105031254529");
        map.put("Sign", "4f9a4f3624121fc353b964afeb4d948b");
        map.put("Method", "getHomeAd");
        map.put("Package", "com.doudou.ysvideo");
        map.put("System", "1");
        System.out.println(DESUtil.decode(HttpUtil.post("http://192.168.1.122:8080/BuWan/api/v2/recommend", map)));
    }
}