优化签名功能
This commit is contained in:
+40
@@ -102,6 +102,46 @@ public class MsSignSealController extends BaseController {
|
||||
return msSignSealService.msCaseSign(dto);
|
||||
}
|
||||
|
||||
/**
|
||||
* PC端申请人签名
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/msCaseSignUrlApplyPC")
|
||||
public AjaxResult msCaseSignUrlApplyPC(@RequestBody MsSignSealDTO dto) throws EsignDemoException {
|
||||
if (dto.getCaseId() == null) {
|
||||
return error("参数校验失败");
|
||||
}
|
||||
return msSignSealService.msCaseSignUrlApplyPC(dto);
|
||||
}
|
||||
|
||||
/**
|
||||
* PC端被申请人签名
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/msCaseSignUrlResPC")
|
||||
public AjaxResult msCaseSignUrlResPC(@RequestBody MsSignSealDTO dto) throws EsignDemoException {
|
||||
if (dto.getCaseId() == null) {
|
||||
return error("参数校验失败");
|
||||
}
|
||||
return msSignSealService.msCaseSignUrlResPC(dto);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 小程序端申请人签名
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/msCaseSignUrlApplyAPP")
|
||||
public AjaxResult msCaseSignUrlApplyAPP(@RequestBody MsSignSealDTO dto) throws EsignDemoException {
|
||||
if (dto.getCaseId() == null) {
|
||||
return error("参数校验失败");
|
||||
}
|
||||
return msSignSealService.msCaseSignUrlApplyAPP(dto);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user