@Signature
    @GetMapping("/orders/{orderId}")
    public String getOrder(@PathVariable String orderId, @RequestParam String name, @RequestParam Integer amount){
        return "success";
    }
@Test
    void getOrder() throws Exception {
        Map<String, String[]> params = Maps.newHashMap();
        params.put("name", new String[]{"iphone"});
        params.put("amount", new String[]{"1"});

        SignatureVo signatureVo = new SignatureVo();
        signatureVo.setPath("/orders/order1");
        signatureVo.setContentType(MediaType.APPLICATION_JSON_VALUE);
        signatureVo.setHttpMethod("GET");
        signatureVo.setParams(params);

        MvcResult mvcResult = mockMvc.perform(MockMvcRequestBuilders.get("/orders/order1?name=iphone&amount=1")
                .headers(getHeaders(signatureVo)))
                .andExpect(MockMvcResultMatchers.status().isOk())
                .andDo(MockMvcResultHandlers.print())
                .andReturn();
        System.out.println("输出 " + mvcResult.getResponse().getContentAsString());
    }