Browse Source

微信第三方平台

master
zxc 5 years ago
parent
commit
25c0a2f8d9
  1. 4
      epmet-module/epmet-third/epmet-third-server/src/main/java/com/epmet/controller/ComponentVerifyTicketController.java

4
epmet-module/epmet-third/epmet-third-server/src/main/java/com/epmet/controller/ComponentVerifyTicketController.java

@ -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";
}

Loading…
Cancel
Save