时间戳服务

This commit is contained in:
zhangqinbin
2021-04-01 15:22:49 +08:00
parent 25d834a579
commit 4cc56a4706

View File

@ -31,7 +31,7 @@ public class TiemServiceController {
* @return 时间戳对象 * @return 时间戳对象
*/ */
@GetMapping(value = "/verifyTimeStamp") @GetMapping(value = "/verifyTimeStamp")
public BaseResponse<TSAVerifyResult> verifyTimeStamp(@ApiParam(value = "时间戳加密原文", required = true) @RequestBody @RequestParam(name = "data")String timestamp) { public BaseResponse<TSAVerifyResult> verifyTimeStamp(@ApiParam(value = "时间戳加密原文", required = true) @RequestBody String timestamp) {
TimeServiceConstant constant = new TimeServiceConstant(); TimeServiceConstant constant = new TimeServiceConstant();
return BaseResponse.success(constant.verifyTimeStamp(timestamp)); return BaseResponse.success(constant.verifyTimeStamp(timestamp));
} }