    @Test
    public void testSign() {


        //请求path
        String path = "/s/weather";

        Map<String, String> headers = new HashMap<>();
        //（必填）根据期望的Response内容类型设置
        headers.put(HttpHeader.ACCEPT, "application/json");
        headers.put("a-header1", "header1Value");
        headers.put("b-header2", "header2Value");

        CUSTOM_HEADERS_TO_SIGN_PREFIX.clear();
        CUSTOM_HEADERS_TO_SIGN_PREFIX.add("a-header1");
        CUSTOM_HEADERS_TO_SIGN_PREFIX.add("a-header2");

        //请求的query
        Map<String, String> querys = new HashMap<>();
        querys.put("a-query1", "query1Value");
        querys.put("b-query2", "query2Value");

        String signature = SignUtil.sign(APP_SECRET, HttpMethod.GET, path, headers, querys, null, CUSTOM_HEADERS_TO_SIGN_PREFIX);

        System.out.println(signature);

    }