You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.bsd.say.controller;
|
|
|
|
|
|
|
|
import com.bsd.say.util.ResponseUtil;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
import java.io.BufferedReader;
|
|
|
|
|
|
|
|
@RestController
|
|
|
|
@RequestMapping("wechat")
|
|
|
|
public class WechatController {
|
|
|
|
// /**
|
|
|
|
// * 接收component_verify_ticket 或 authorized事件
|
|
|
|
// */
|
|
|
|
// @RequestMapping(value = "/getComponentVerifyTicket")
|
|
|
|
// @ResponseBody
|
|
|
|
// public String getComponentVerifyTicket(@RequestParam("timestamp")String timestamp, @RequestParam("nonce")String nonce,
|
|
|
|
// @RequestParam("msg_signature")String msgSignature, @RequestBody String postData){
|
|
|
|
//
|
|
|
|
// }
|
|
|
|
|
|
|
|
}
|