微信文档中要求必须返回 success 不能用字符串,字符串返回值接收时实际接收为 “success”,要使用如下代码返回
// 微信官方要求返回 success 格式
public void ticket(HttpServletRequest request, HttpServletResponse response) throws IOException {
try{
..... 解析逻辑
}catch (Exception e){
e
微信文档中要求必须返回 success 不能用字符串,字符串返回值接收时实际接收为 “success”,要使用如下代码返回
// 微信官方要求返回 success 格式
public void ticket(HttpServletRequest request, HttpServletResponse response) throws IOException {
try{
..... 解析逻辑
}catch (Exception e){
e