|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.epmet.controller; |
|
|
|
|
|
|
|
import com.epmet.constant.ModuleConstant; |
|
|
|
import com.epmet.service.ComponentVerifyTicketService; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
@ -26,11 +27,12 @@ public class ComponentVerifyTicketController { |
|
|
|
* @param postData |
|
|
|
* @author zxc |
|
|
|
*/ |
|
|
|
@PostMapping(value = "/componentverifyticket") |
|
|
|
@PostMapping(value = "/callback") |
|
|
|
public String componentVerifyTicket(@RequestParam("timestamp") String timestamp, |
|
|
|
@RequestParam("nonce") String nonce, |
|
|
|
@RequestParam("msg_signature") String msgSignature, |
|
|
|
@RequestBody String postData) { |
|
|
|
log.info("timestamp = "+timestamp,"nonce = "+nonce,"msgSignature = "+msgSignature,"postData = "+postData); |
|
|
|
componentVerifyTicketService.componentVerifyTicket(timestamp,nonce,msgSignature,postData); |
|
|
|
return "success"; |
|
|
|
} |
|
|
|