mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-08 13:37:35 +00:00
feat 云闪付支持对账,支持对账文件手动导入
This commit is contained in:
@@ -19,6 +19,7 @@ import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
/**
|
||||
* 支付对账
|
||||
@@ -49,6 +50,13 @@ public class ReconcileOrderController {
|
||||
return Res.ok();
|
||||
}
|
||||
|
||||
@Operation(summary = "手动上传对账单文件")
|
||||
@PostMapping("/upload")
|
||||
public ResResult<Void> upload(Long id, MultipartFile file){
|
||||
reconcileService.upload(id,file);
|
||||
return Res.ok();
|
||||
}
|
||||
|
||||
@Operation(summary = "手动触发对账单比对")
|
||||
@PostMapping("/compare")
|
||||
public ResResult<Void> compare(Long id){
|
||||
|
Reference in New Issue
Block a user