Commit 0ba4cae8 by 缪晖

Merge branch 'feature/2.0.1-collageOrder-刘鹏飞' into 'develop'

groupBuy test

See merge request !16
parents d0607c1c f89be0a0
......@@ -120,7 +120,7 @@ public class TestController {
//String requestUrl = "https://api.weixin.qq.com/wxa/business/groupBuy/createOrder?access_token=" + accessToken;
log.info("bean:{}", groupBuyRequest);
String result = weChatClient.groupBuyCreateOrder(accessToken, groupBuyRequest);
String result = weChatClient.groupBuyCreateOrder(groupBuyRequest);
BaseResponse baseResponse = new BaseResponse();
baseResponse.setResult(result);
......
......@@ -74,6 +74,6 @@ public interface WeChatClient {
@PostMapping(value = "wxa/business/groupBuy/createOrder?access_token=39_5B21AfHFgOKmBeoFsnN_2wO0FUV2wwf6VF7i74eD0B15yqfmNJOyAS1f4N9HIUeHZ26Jn_FgsdJyBXGH09sS1-ADS2dGRRTFJ1YYhwjHsgolD35V2m5QFF005G-5brre6gk9sWN6Z9Ih-_BBNFWgAEDYQH",
produces = MediaType.APPLICATION_JSON_VALUE,
consumes = MediaType.APPLICATION_JSON_UTF8_VALUE)
String groupBuyCreateOrder(@PathVariable("accessToken") String accessToken, @RequestBody GroupBuyRequest groupBuyRequest);
String groupBuyCreateOrder(@RequestBody GroupBuyRequest groupBuyRequest);
}
......@@ -97,7 +97,7 @@ public class EcologyAdminApplicationClientTest {
//String requestUrl = "https://api.weixin.qq.com/wxa/business/groupBuy/createOrder?access_token=" + accessToken;
String result = weChatClient.groupBuyCreateOrder(accessToken, groupBuyRequest);
log.info(result);
// String result = weChatClient.groupBuyCreateOrder(accessToken, groupBuyRequest);
// log.info(result);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment