|
@@ -191,10 +191,10 @@ public class WxPayController {
|
191
|
191
|
@ApiOperation(value = "取消支付", notes = "取消支付")
|
192
|
192
|
@ApiImplicitParams({
|
193
|
193
|
@ApiImplicitParam(paramType = "path", dataType = "String", name = "outTradeNo", value = "订单号"),
|
194
|
|
- @ApiImplicitParam(paramType = "form", dataType = "String", name = "outTradeNo", value = "type: 类型(car 车缴费, bill 物业缴费)"),
|
|
194
|
+ @ApiImplicitParam(paramType = "query", dataType = "String", name = "type", value = "type: 类型(car 车缴费, bill 物业缴费)"),
|
195
|
195
|
@ApiImplicitParam(paramType = "header",dataType = "String",name = "X-Auth-Token",value = "Token")
|
196
|
196
|
})
|
197
|
|
- @RequestMapping(value = "/wxCancelPay/{outTradeNo}",method = RequestMethod.POST)
|
|
197
|
+ @RequestMapping(value = "/wxCancelPay/{outTradeNo}",method = RequestMethod.GET)
|
198
|
198
|
public ResponseBean wxCancelPay(@PathVariable("outTradeNo") String outTradeNo, @RequestParam("type") String type,HttpSession session){
|
199
|
199
|
ResponseBean responseBean = new ResponseBean();
|
200
|
200
|
try {
|