Merge branch 'feature/push_record' into test

release
wangrangrang 2 years ago
commit 7985ece648
  1. 2
      order-management-consumer/src/main/java/com/dxhy/order/consumer/modules/order/controller/InvoicePushController.java

@ -3,6 +3,7 @@ package com.dxhy.order.consumer.modules.order.controller;
import com.dxhy.order.consumer.modules.order.service.InvoicePushService; import com.dxhy.order.consumer.modules.order.service.InvoicePushService;
import com.dxhy.order.model.R; import com.dxhy.order.model.R;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@ -30,6 +31,7 @@ public class InvoicePushController {
* @param pushInfoRecordId * @param pushInfoRecordId
* @return R * @return R
*/ */
@GetMapping("/retryPush")
public R retryPush(@RequestParam Long pushInfoRecordId){ public R retryPush(@RequestParam Long pushInfoRecordId){
return R.ok().put("data", invoicePushService.retryPush(pushInfoRecordId)); return R.ok().put("data", invoicePushService.retryPush(pushInfoRecordId));
} }

Loading…
Cancel
Save