修改项目增加游戏破解功能
This commit is contained in:
@@ -6,6 +6,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
@Controller
|
||||
@@ -30,4 +31,12 @@ public class TestController {
|
||||
response.flushBuffer();
|
||||
}
|
||||
|
||||
/**
|
||||
* 表白
|
||||
*/
|
||||
@RequestMapping(value = "/image", method = RequestMethod.GET)
|
||||
public void image() throws IOException {
|
||||
File file = new File("/home/type/job");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ public class WXTokenController {
|
||||
String msgType = map.get("MsgType");
|
||||
String content = map.get("Content");
|
||||
String message = null;
|
||||
// HTTPUtils.doPost()
|
||||
// HttpUtils.doPost()
|
||||
if ("text".equals(msgType)){
|
||||
//回复文本信息触发的消息
|
||||
message = MessageUtils.initText(toUserName,fromUserName,"text",fromUserName + "您好!" + content);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.qn.controller.utils;
|
||||
|
||||
import com.thoughtworks.xstream.XStream;
|
||||
import model.wx.TextMessage;
|
||||
import com.qn.model.wx.TextMessage;
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.Element;
|
||||
import org.dom4j.io.SAXReader;
|
||||
|
||||
Reference in New Issue
Block a user