Skip to content

Commit

Permalink
first version, add all to de repo
Browse files Browse the repository at this point in the history
  • Loading branch information
sealer committed Nov 17, 2015
0 parents commit 27c6a23
Show file tree
Hide file tree
Showing 95 changed files with 2,575 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v7.0">
<attributes>
<attribute name="owner.project.facets" value="jst.web"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/dom4j-1.6.1.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xstream-1.3.1.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-collections-3.1.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-lang-2.3.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-logging.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/ezmorph-1.0.6.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/json-lib-2.1.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/httpclient-4.2.5.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/httpcore-4.2.4.jar"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
36 changes: 36 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>weixin</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
12 changes: 12 additions & 0 deletions .settings/.jsdtscope
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="**/bower_components/*|**/node_modules/*|**/*.min.js" kind="src" path="WebContent"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
<attributes>
<attribute name="hide" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
<classpathentry kind="output" path=""/>
</classpath>
7 changes: 7 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
8 changes: 8 additions & 0 deletions .settings/org.eclipse.wst.common.component
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="weixin">
<wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<property name="context-root" value="weixin"/>
<property name="java-output-path" value="/weixin/build/classes"/>
</wb-module>
</project-modules>
10 changes: 10 additions & 0 deletions .settings/org.eclipse.wst.common.project.facet.core.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="Apache Tomcat v7.0"/>
<fixed facet="wst.jsdt.web"/>
<fixed facet="java"/>
<fixed facet="jst.web"/>
<installed facet="java" version="1.8"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>
1 change: 1 addition & 0 deletions .settings/org.eclipse.wst.jsdt.ui.superType.container
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
1 change: 1 addition & 0 deletions .settings/org.eclipse.wst.jsdt.ui.superType.name
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Window
3 changes: 3 additions & 0 deletions WebContent/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

Binary file not shown.
Binary file not shown.
Binary file added WebContent/WEB-INF/lib/commons-lang-2.3.jar
Binary file not shown.
Binary file added WebContent/WEB-INF/lib/commons-logging.jar
Binary file not shown.
Binary file added WebContent/WEB-INF/lib/dom4j-1.6.1-sources.jar
Binary file not shown.
Binary file added WebContent/WEB-INF/lib/dom4j-1.6.1.jar
Binary file not shown.
Binary file added WebContent/WEB-INF/lib/ezmorph-1.0.6.jar
Binary file not shown.
Binary file added WebContent/WEB-INF/lib/httpclient-4.2.5.jar
Binary file not shown.
Binary file added WebContent/WEB-INF/lib/httpcore-4.2.4.jar
Binary file not shown.
Binary file added WebContent/WEB-INF/lib/json-lib-2.1.jar
Binary file not shown.
Binary file added WebContent/WEB-INF/lib/xstream-1.3.1.jar
Binary file not shown.
28 changes: 28 additions & 0 deletions WebContent/WEB-INF/web.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id="WebApp_ID" version="3.0">

<display-name>weixin</display-name>

<servlet>
<servlet-name>weixinSAervlet</servlet-name>
<servlet-class>cn.com.sealer.weixin.WeixinServlet</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>weixinSAervlet</servlet-name>
<url-pattern>/wx.do</url-pattern>
</servlet-mapping>

<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
</welcome-file-list>

</web-app>
Binary file added WebContent/images/p-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added WebContent/images/sl_habit.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added build/classes/cn/com/sealer/menu/Button.class
Binary file not shown.
Binary file added build/classes/cn/com/sealer/menu/ClickButton.class
Binary file not shown.
Binary file added build/classes/cn/com/sealer/menu/Menu.class
Binary file not shown.
Binary file added build/classes/cn/com/sealer/menu/ViewButton.class
Binary file not shown.
Binary file added build/classes/cn/com/sealer/po/AccessToken.class
Binary file not shown.
Binary file added build/classes/cn/com/sealer/po/BaseMessage.class
Binary file not shown.
Binary file added build/classes/cn/com/sealer/po/Image.class
Binary file not shown.
Binary file added build/classes/cn/com/sealer/po/ImageMessage.class
Binary file not shown.
Binary file added build/classes/cn/com/sealer/po/Music.class
Binary file not shown.
Binary file added build/classes/cn/com/sealer/po/MusicMessage.class
Binary file not shown.
Binary file added build/classes/cn/com/sealer/po/NewsItem.class
Binary file not shown.
Binary file added build/classes/cn/com/sealer/po/NewsMessage.class
Binary file not shown.
Binary file added build/classes/cn/com/sealer/po/TextMessage.class
Binary file not shown.
43 changes: 43 additions & 0 deletions build/classes/cn/com/sealer/test/1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"menu":{
"button":[
{
"name":"点赞",
"sub_button":[

],
"type":"click",
"key":"11"
},
{
"name":"sealer网站",
"sub_button":[

],
"type":"view",
"url":"http://www.sealer.com.cn"
},
{
"name":"附加功能",
"sub_button":[
{
"name":"扫一扫",
"sub_button":[

],
"type":"scancode_push",
"key":"31"
},
{
"name":"我的位置",
"sub_button":[

],
"type":"location_select",
"key":"32"
}
]
}
]
}
}
33 changes: 33 additions & 0 deletions build/classes/cn/com/sealer/test/2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"errno":0,
"data":{
"word_name":"do",
"symbols":[
{
"ph_am":"du",
"ph_en":"du:",
"parts":[
{
"part":"aux.",
"means":[
"\uff08\u6784\u6210\u7591\u95ee\u53e5\u548c\u5426\u5b9a\u53e5\uff09",
"\uff08\u4ee3\u66ff\u52a8\u8bcd\uff09",
"\uff08\u7528\u4e8e\u52a0\u5f3a\u8bed\u6c14\uff09"
]
},
{
"part":"vt.& vi.",
"means":[
"\u505a",
"\u5e72",
"\u5b66\u4e60",
"\u7814\u7a76"
]
}
]
}
]
},
"to":"zh",
"from":"en"
}
60 changes: 60 additions & 0 deletions build/classes/cn/com/sealer/test/3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"desc":"OK",
"status":1000,
"data":{
"wendu":"-4",
"ganmao":"天气较凉,较易发生感冒,请适当增加衣服。体质较弱的朋友尤其应该注意防护。",
"forecast":[
{
"fengxiang":"东北风",
"fengli":"微风级",
"high":"高温 0℃",
"type":"多云",
"low":"低温 -5℃",
"date":"16日星期一"
},
{
"fengxiang":"无持续风向",
"fengli":"微风级",
"high":"高温 -2℃",
"type":"",
"low":"低温 -8℃",
"date":"17日星期二"
},
{
"fengxiang":"东北风",
"fengli":"微风级",
"high":"高温 -1℃",
"type":"多云",
"low":"低温 -4℃",
"date":"18日星期三"
},
{
"fengxiang":"东北风",
"fengli":"微风级",
"high":"高温 -2℃",
"type":"小雪",
"low":"低温 -8℃",
"date":"19日星期四"
},
{
"fengxiang":"东北风",
"fengli":"微风级",
"high":"高温 -2℃",
"type":"多云",
"low":"低温 -9℃",
"date":"20日星期五"
}
],
"yesterday":{
"fl":"3-4级",
"fx":"北风",
"high":"高温 4℃",
"type":"多云",
"low":"低温 -5℃",
"date":"15日星期日"
},
"aqi":"100",
"city":"长春"
}
}
81 changes: 81 additions & 0 deletions build/classes/cn/com/sealer/test/4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
error:0,
status:"success",
date:"2013-07-17",
results:[
{
currentCity:"北京市",
weather_data:[
{
date:"周三(今天, 实时:24℃)",
dayPictureUrl:"http://api.map.baidu.com/images/weather/day/duoyun.png",
nightPictureUrl:"http://api.map.baidu.com/images/weather/night/duoyun.png",
weather:"多云",
wind:"微风",
temperature:"23℃~ 15℃"
},
{
date:"明天(周四)",
dayPictureUrl:"http://api.map.baidu.com/images/weather/day/leizhenyu.png",
nightPictureUrl:"http://api.map.baidu.com/images/weather/night/zhongyu.png",
weather:"雷阵雨转中雨",
wind:"微风",
temperature:"29~22℃"
},
{
date:"后天(周五)",
dayPictureUrl:"http://api.map.baidu.com/images/weather/day/yin.png",
nightPictureUrl:"http://api.map.baidu.com/images/weather/night/duoyun.png",
weather:"阴转多云",
wind:"微风",
temperature:"31~23℃"
},
{
date:"大后天(周六)",
dayPictureUrl:"http://api.map.baidu.com/images/weather/day/duoyun.png",
nightPictureUrl:"http://api.map.baidu.com/images/weather/night/duoyun.png",
weather:"多云",
wind:"微风",
temperature:"31~24℃"
}
]
},
{
currentCity:"合肥市",
weather_data:[
{
date:"今天(周三)",
dayPictureUrl:"http://api.map.baidu.com/images/weather/day/duoyun.png",
nightPictureUrl:"http://api.map.baidu.com/images/weather/night/duoyun.png",
weather:"多云",
wind:"东风3-4级",
temperature:"27℃"
},
{
date:"明天(周四)",
dayPictureUrl:"http://api.map.baidu.com/images/weather/day/duoyun.png",
nightPictureUrl:"http://api.map.baidu.com/images/weather/night/duoyun.png",
weather:"多云",
wind:"东北风3-4级",
temperature:"35~27℃"
},
{
date:"后天(周五)",
dayPictureUrl:"http://api.map.baidu.com/images/weather/day/duoyun.png",
nightPictureUrl:"http://api.map.baidu.com/images/weather/night/duoyun.png",
weather:"多云",
wind:"南风",
temperature:"35~27℃"
},
{
date:"大后天(周六)",
dayPictureUrl:"http://api.map.baidu.com/images/weather/day/duoyun.png",
nightPictureUrl:"http://api.map.baidu.com/images/weather/night/duoyun.png",
weather:"多云",
wind:"东风",
temperature:"34~27℃"
}
]
}
]
}
Loading

0 comments on commit 27c6a23

Please sign in to comment.