|
|
@@ -67,7 +67,7 @@ public class AppletOrderController {
|
|
|
* @return
|
|
|
*/
|
|
|
@Operation(summary = "创建订单")
|
|
|
- @PostMapping("/createOrder")
|
|
|
+ // @PostMapping("/createOrder")
|
|
|
public Result<AppUserPayForm> createOrder(@RequestBody AppLevelOrderForm appLevelOrderForm, HttpServletRequest request) {
|
|
|
AppUserPayForm payForm = userOrderInfoService.createOrder(appLevelOrderForm);
|
|
|
return Result.success(payForm);
|
|
|
@@ -80,7 +80,7 @@ public class AppletOrderController {
|
|
|
* @return
|
|
|
*/
|
|
|
@Operation(summary = "订单-支付")
|
|
|
- @PutMapping("/payOrder/{orderId}")
|
|
|
+ //@PutMapping("/payOrder/{orderId}")
|
|
|
@Log(value = "订单-支付", module = LogModuleEnum.APP_ORDER)
|
|
|
public Result<AppUserPayForm> payOrder(@PathVariable("orderId") String orderId) {
|
|
|
return Result.success(userOrderInfoService.payOrder(orderId));
|
|
|
@@ -93,7 +93,7 @@ public class AppletOrderController {
|
|
|
* @return
|
|
|
*/
|
|
|
@Operation(summary = "支付回调")
|
|
|
- @RequestMapping("/wechatPayNotify")
|
|
|
+ //@RequestMapping("/wechatPayNotify")
|
|
|
public Map<String, String> wechatPayNotify(HttpServletRequest request, HttpServletResponse response) throws InterruptedException {
|
|
|
log.info("--------------------------------------------支付回调");
|
|
|
return userOrderInfoService.wechatPayNotify(request, response);
|
|
|
@@ -106,7 +106,7 @@ public class AppletOrderController {
|
|
|
* @return
|
|
|
*/
|
|
|
@Operation(summary = "订单支付是否成功查询")
|
|
|
- @GetMapping("/orderQuery/{orderNo}")
|
|
|
+ //@GetMapping("/orderQuery/{orderNo}")
|
|
|
public Result<String> orderQuery(@PathVariable("orderNo") String orderNo) throws Exception {
|
|
|
return Result.success(userOrderInfoService.orderQuery(orderNo));
|
|
|
}
|
|
|
@@ -118,7 +118,7 @@ public class AppletOrderController {
|
|
|
* @return
|
|
|
*/
|
|
|
@Operation(summary = "订单主动取消")
|
|
|
- @PutMapping("/cancelOrder/{orderId}")
|
|
|
+ //@PutMapping("/cancelOrder/{orderId}")
|
|
|
@Log(value = "订单主动取消", module = LogModuleEnum.APP_ORDER)
|
|
|
public Result<String> cancelOrder(@PathVariable(name = "orderId") String orderId) {
|
|
|
return Result.success(userOrderInfoService.cancelOrder(orderId));
|
|
|
@@ -129,7 +129,7 @@ public class AppletOrderController {
|
|
|
* @return
|
|
|
*/
|
|
|
@Operation(summary = "账户退款")
|
|
|
- @PutMapping("/refundOrder")
|
|
|
+ // @PutMapping("/refundOrder")
|
|
|
@Log(value = "账户退款", module = LogModuleEnum.APP_ORDER)
|
|
|
public Result<String> refundOrder() throws Exception {
|
|
|
return Result.success(userOrderInfoService.refundOrder());
|
|
|
@@ -142,7 +142,7 @@ public class AppletOrderController {
|
|
|
* @return
|
|
|
*/
|
|
|
@Operation(summary = "订单退款回调")
|
|
|
- @PostMapping("/callback/refundOrderNotify")
|
|
|
+ //@PostMapping("/callback/refundOrderNotify")
|
|
|
public Map<String, Object> refundOrderNotify(HttpServletRequest request, HttpServletResponse response) {
|
|
|
return userOrderInfoService.refundCallback(request, response);
|
|
|
}
|