This commit is contained in:
hejinbo
2023-09-26 15:07:15 +08:00
parent 3be770a718
commit 3fc79deee0
5 changed files with 60 additions and 2 deletions
@@ -16,8 +16,18 @@ import org.springframework.web.bind.annotation.RestController;
public class AdjudicationController extends BaseController {
@Autowired
private IAdjudicationService adjudicationService;
/**
* 生成裁决书
* @param caseApplication
* @return
*/
@PostMapping("/document")
public AjaxResult createDocument(@Validated @RequestBody CaseApplication caseApplication){
return adjudicationService.createDocument(caseApplication);
}
@PostMapping("/")
public AjaxResult sendDocumentByEmail(){
return adjudicationService.sendDocumentByEmail();
}
}