shichongfu
2023-04-25 ce0b49552668d3331055e2b1a1447a743dc54939
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
package com.product.admin.test;
 
import com.google.common.collect.Maps;
import com.product.common.utils.HttpTest;
import org.junit.Test;
 
import java.util.Map;
 
/**
 * @Author cheng
 * @Description
 * @Date 2021/9/6 18:03
 * @Version 1.0
 */
 
 
public class SystemFaceTest extends HttpTest {
    
    public static void main(String[] args) {
//        getFunctionTree();//获取功能树
          getFaceFieldList();
    }
 
    public static void getFunctionTree() {
        Map<String, Object> map = Maps.newHashMap();
        map.put("url/api", "/api/system/face/tree/v1");
        map.put("~table~", "product_sys_face");
        testPost(map);
    }
 
    public static void getFaceFieldList() {
        Map<String, Object> map = Maps.newHashMap();
        map.put("url/api", "/api/system/face/get-field-list/v1");
        map.put("~table~", "product_sys_face");
        map.put("function_uuid", "94409695-7157-447b-9596-f85ecd68ede7");
        testPost(map);
    }
}