Commit 6cdfeaf18227aed2552734069779e59d9aae6a75
1 parent
5b03edef
修改相关信息,添加反馈模块
Showing
165 changed files
with
212 additions
and
920 deletions
.classpath
| @@ -15,6 +15,6 @@ | @@ -15,6 +15,6 @@ | ||
| 15 | <attribute name="owner.project.facets" value="jst.web.jstl"/> | 15 | <attribute name="owner.project.facets" value="jst.web.jstl"/> |
| 16 | </attributes> | 16 | </attributes> |
| 17 | </classpathentry> | 17 | </classpathentry> |
| 18 | - <classpathentry kind="lib" path="D:/MyEclipse Professional 2014/SunvoteEducation/WebRoot/WEB-INF/lib/spring-web-4.3.7.RELEASE.jar"/> | 18 | + <classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-web-4.3.7.RELEASE.jar"/> |
| 19 | <classpathentry kind="output" path="WebRoot/WEB-INF/classes"/> | 19 | <classpathentry kind="output" path="WebRoot/WEB-INF/classes"/> |
| 20 | </classpath> | 20 | </classpath> |
WebRoot/WEB-INF/web.xml
| 1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | -<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 3 | - xmlns="http://java.sun.com/xml/ns/javaee" | ||
| 4 | - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" | ||
| 5 | - version="2.5"> | ||
| 6 | - | ||
| 7 | - <context-param> | ||
| 8 | - <param-name>contextConfigLocation</param-name> | ||
| 9 | - <param-value> | 2 | +<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_2_5.xsd" version="2.5"> |
| 3 | + <context-param> | ||
| 4 | + <param-name>contextConfigLocation</param-name> | ||
| 5 | + <param-value> | ||
| 10 | classpath:spring/ApplicationContext-main.xml, | 6 | classpath:spring/ApplicationContext-main.xml, |
| 11 | classpath:spring/ApplicationContext-dataSource.xml, | 7 | classpath:spring/ApplicationContext-dataSource.xml, |
| 12 | classpath:spring/ApplicationContext-shiro.xml, | 8 | classpath:spring/ApplicationContext-shiro.xml, |
| 13 | classpath:spring/ApplicationContext-redis.xml | 9 | classpath:spring/ApplicationContext-redis.xml |
| 14 | </param-value> | 10 | </param-value> |
| 15 | - </context-param> | ||
| 16 | - <context-param> | ||
| 17 | - <param-name>log4jConfigLocation</param-name> | ||
| 18 | - <param-value>classpath:log4j.properties</param-value> | ||
| 19 | - </context-param> | ||
| 20 | - <filter> | ||
| 21 | - <filter-name>encodingFilter</filter-name> | ||
| 22 | - <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> | ||
| 23 | - <init-param> | ||
| 24 | - <param-name>encoding</param-name> | ||
| 25 | - <param-value>utf-8</param-value> | ||
| 26 | - </init-param> | ||
| 27 | - </filter> | ||
| 28 | - <filter-mapping> | ||
| 29 | - <filter-name>encodingFilter</filter-name> | ||
| 30 | - <url-pattern>/*</url-pattern> | ||
| 31 | - </filter-mapping> | ||
| 32 | - <context-param> | ||
| 33 | - <param-name>webAppRootKey</param-name> | ||
| 34 | - <param-value>www.fhadmin.org</param-value> | ||
| 35 | - </context-param> | ||
| 36 | - | ||
| 37 | - <!-- 连接池 启用Web监控统计功能 start--> | ||
| 38 | - <filter> | ||
| 39 | - <filter-name>DruidWebStatFilter</filter-name> | ||
| 40 | - <filter-class>com.alibaba.druid.support.http.WebStatFilter</filter-class> | ||
| 41 | - <init-param> | ||
| 42 | - <param-name>exclusions</param-name> | ||
| 43 | - <param-value>*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*</param-value> | ||
| 44 | - </init-param> | ||
| 45 | - </filter> | ||
| 46 | - <filter-mapping> | ||
| 47 | - <filter-name>DruidWebStatFilter</filter-name> | ||
| 48 | - <url-pattern>/*</url-pattern> | ||
| 49 | - </filter-mapping> | ||
| 50 | - <servlet> | ||
| 51 | - <servlet-name>DruidStatView</servlet-name> | ||
| 52 | - <servlet-class>com.alibaba.druid.support.http.StatViewServlet</servlet-class> | ||
| 53 | - </servlet> | ||
| 54 | - <servlet-mapping> | ||
| 55 | - <servlet-name>DruidStatView</servlet-name> | ||
| 56 | - <url-pattern>/druid/*</url-pattern> | ||
| 57 | - </servlet-mapping> | ||
| 58 | - <!-- 连接池 启用Web监控统计功能 end--> | ||
| 59 | - | ||
| 60 | - <filter> | ||
| 61 | - <filter-name>loginFilter</filter-name> | ||
| 62 | - <filter-class>com.fh.filter.LoginFilter</filter-class> | ||
| 63 | - </filter> | ||
| 64 | - <listener> | ||
| 65 | - <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> | ||
| 66 | - </listener> | ||
| 67 | - <listener> | ||
| 68 | - <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | ||
| 69 | - </listener> | ||
| 70 | - | ||
| 71 | - <servlet> | ||
| 72 | - <servlet-name>springMvc</servlet-name> | ||
| 73 | - <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | ||
| 74 | - <init-param> | ||
| 75 | - <param-name>contextConfigLocation</param-name> | ||
| 76 | - <param-value>classpath:spring/ApplicationContext-mvc.xml</param-value> | ||
| 77 | - </init-param> | ||
| 78 | - <load-on-startup>1</load-on-startup> | ||
| 79 | - </servlet> | ||
| 80 | - <servlet-mapping> | ||
| 81 | - <servlet-name>springMvc</servlet-name> | ||
| 82 | - <url-pattern>/</url-pattern> | ||
| 83 | - </servlet-mapping> | ||
| 84 | - | ||
| 85 | - <!-- tomcat等 启动之前执行 --> | ||
| 86 | - <filter> | ||
| 87 | - <filter-name>startFilter</filter-name> | ||
| 88 | - <filter-class>com.fh.filter.startFilter</filter-class> | ||
| 89 | - </filter> | ||
| 90 | - | ||
| 91 | - <!-- Shiro filter start --> | ||
| 92 | - <filter> | ||
| 93 | - <filter-name>shiroFilter</filter-name> | ||
| 94 | - <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> | ||
| 95 | - <init-param> | ||
| 96 | - <param-name>targetFilterLifecycle</param-name> | ||
| 97 | - <param-value>true</param-value> | ||
| 98 | - </init-param> | ||
| 99 | - </filter> | ||
| 100 | - <filter-mapping> | ||
| 101 | - <filter-name>shiroFilter</filter-name> | ||
| 102 | - <url-pattern>/*</url-pattern> | ||
| 103 | - </filter-mapping> | ||
| 104 | - <!-- Shiro filter end --> | ||
| 105 | - | ||
| 106 | - | ||
| 107 | - <error-page> | ||
| 108 | - <error-code>404</error-code> | ||
| 109 | - <location>/404.jsp</location> | ||
| 110 | - </error-page> | ||
| 111 | - | ||
| 112 | -<!-- | ||
| 113 | - <error-page> | ||
| 114 | - <error-code>405</error-code> | ||
| 115 | - <location>/WEB-INF/405.html</location> | ||
| 116 | - </error-page> | ||
| 117 | - <error-page> | ||
| 118 | - <error-code>404</error-code> | ||
| 119 | - <location>/WEB-INF/404.html</location> | ||
| 120 | - </error-page> | ||
| 121 | - <error-page> | ||
| 122 | - <error-code>500</error-code> | ||
| 123 | - <location>/WEB-INF/500.html</location> | ||
| 124 | - </error-page> | ||
| 125 | - <error-page> | ||
| 126 | - <error-code>javax.servle.ServletException</error-code> | ||
| 127 | - <location>/WEB-INF/error.html</location> | ||
| 128 | - </error-page> | ||
| 129 | - <error-page> | ||
| 130 | - <error-code>java.lang.NullPointerException</error-code> | ||
| 131 | - <location>/WEB-INF/error.html</location> | ||
| 132 | - </error-page> | ||
| 133 | ---> | ||
| 134 | - <session-config> | ||
| 135 | - <session-timeout>600</session-timeout> | ||
| 136 | - </session-config> | 11 | + </context-param> |
| 12 | + <context-param> | ||
| 13 | + <param-name>log4jConfigLocation</param-name> | ||
| 14 | + <param-value>classpath:log4j.properties</param-value> | ||
| 15 | + </context-param> | ||
| 16 | + <filter> | ||
| 17 | + <filter-name>encodingFilter</filter-name> | ||
| 18 | + <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> | ||
| 19 | + <init-param> | ||
| 20 | + <param-name>encoding</param-name> | ||
| 21 | + <param-value>utf-8</param-value> | ||
| 22 | + </init-param> | ||
| 23 | + </filter> | ||
| 24 | + <filter-mapping> | ||
| 25 | + <filter-name>encodingFilter</filter-name> | ||
| 26 | + <url-pattern>/*</url-pattern> | ||
| 27 | + </filter-mapping> | ||
| 28 | + <context-param> | ||
| 29 | + <param-name>webAppRootKey</param-name> | ||
| 30 | + <param-value>www.fhadmin.org</param-value> | ||
| 31 | + </context-param> | ||
| 32 | + <filter> | ||
| 33 | + <filter-name>DruidWebStatFilter</filter-name> | ||
| 34 | + <filter-class>com.alibaba.druid.support.http.WebStatFilter</filter-class> | ||
| 35 | + <init-param> | ||
| 36 | + <param-name>exclusions</param-name> | ||
| 37 | + <param-value>*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*</param-value> | ||
| 38 | + </init-param> | ||
| 39 | + </filter> | ||
| 40 | + <filter-mapping> | ||
| 41 | + <filter-name>DruidWebStatFilter</filter-name> | ||
| 42 | + <url-pattern>/*</url-pattern> | ||
| 43 | + </filter-mapping> | ||
| 44 | + <servlet> | ||
| 45 | + <servlet-name>DruidStatView</servlet-name> | ||
| 46 | + <servlet-class>com.alibaba.druid.support.http.StatViewServlet</servlet-class> | ||
| 47 | + </servlet> | ||
| 48 | + <servlet-mapping> | ||
| 49 | + <servlet-name>DruidStatView</servlet-name> | ||
| 50 | + <url-pattern>/druid/*</url-pattern> | ||
| 51 | + </servlet-mapping> | ||
| 52 | + <filter> | ||
| 53 | + <filter-name>loginFilter</filter-name> | ||
| 54 | + <filter-class>com.fh.filter.LoginFilter</filter-class> | ||
| 55 | + </filter> | ||
| 56 | + <listener> | ||
| 57 | + <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> | ||
| 58 | + </listener> | ||
| 59 | + <listener> | ||
| 60 | + <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | ||
| 61 | + </listener> | ||
| 62 | + <servlet> | ||
| 63 | + <servlet-name>springMvc</servlet-name> | ||
| 64 | + <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | ||
| 65 | + <init-param> | ||
| 66 | + <param-name>contextConfigLocation</param-name> | ||
| 67 | + <param-value>classpath:spring/ApplicationContext-mvc.xml</param-value> | ||
| 68 | + </init-param> | ||
| 69 | + <load-on-startup>1</load-on-startup> | ||
| 70 | + </servlet> | ||
| 71 | + <servlet-mapping> | ||
| 72 | + <servlet-name>springMvc</servlet-name> | ||
| 73 | + <url-pattern>/</url-pattern> | ||
| 74 | + </servlet-mapping> | ||
| 75 | + <filter> | ||
| 76 | + <filter-name>startFilter</filter-name> | ||
| 77 | + <filter-class>com.fh.filter.startFilter</filter-class> | ||
| 78 | + </filter> | ||
| 79 | + <filter> | ||
| 80 | + <filter-name>shiroFilter</filter-name> | ||
| 81 | + <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> | ||
| 82 | + <init-param> | ||
| 83 | + <param-name>targetFilterLifecycle</param-name> | ||
| 84 | + <param-value>true</param-value> | ||
| 85 | + </init-param> | ||
| 86 | + </filter> | ||
| 87 | + <filter-mapping> | ||
| 88 | + <filter-name>shiroFilter</filter-name> | ||
| 89 | + <url-pattern>/*</url-pattern> | ||
| 90 | + </filter-mapping> | ||
| 91 | + <error-page> | ||
| 92 | + <error-code>404</error-code> | ||
| 93 | + <location>/404.jsp</location> | ||
| 94 | + </error-page> | ||
| 95 | + <session-config> | ||
| 96 | + <session-timeout>600</session-timeout> | ||
| 97 | + </session-config> | ||
| 137 | </web-app> | 98 | </web-app> |
| 138 | \ No newline at end of file | 99 | \ No newline at end of file |
resources/dbconfig.properties
| 1 | #数据源 1 | 1 | #数据源 1 |
| 2 | -url:jdbc:mysql://192.168.0.3:3306/education?autoReconnect=true&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 | 2 | +url:jdbc:mysql://127.0.0.1:3306/education?autoReconnect=true&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 |
| 3 | driverClassName:com.mysql.jdbc.Driver | 3 | driverClassName:com.mysql.jdbc.Driver |
| 4 | username:root | 4 | username:root |
| 5 | #password:elvis | 5 | #password:elvis |
src/com/fh/controller/api/ApiServer.java
| 1 | package com.fh.controller.api; | 1 | package com.fh.controller.api; |
| 2 | 2 | ||
| 3 | +import java.io.File; | ||
| 4 | +import java.util.Date; | ||
| 3 | import java.util.List; | 5 | import java.util.List; |
| 4 | 6 | ||
| 5 | import javax.annotation.Resource; | 7 | import javax.annotation.Resource; |
| 8 | +import javax.servlet.http.HttpServletRequest; | ||
| 6 | 9 | ||
| 7 | import org.springframework.stereotype.Controller; | 10 | import org.springframework.stereotype.Controller; |
| 8 | import org.springframework.web.bind.annotation.RequestMapping; | 11 | import org.springframework.web.bind.annotation.RequestMapping; |
| 9 | import org.springframework.web.bind.annotation.ResponseBody; | 12 | import org.springframework.web.bind.annotation.ResponseBody; |
| 13 | +import org.springframework.web.multipart.MultipartFile; | ||
| 10 | 14 | ||
| 11 | import com.fh.controller.base.BaseController; | 15 | import com.fh.controller.base.BaseController; |
| 16 | +import com.fh.service.feedback.feedback.FeedbackManager; | ||
| 12 | import com.fh.service.sunvote.basestation.BasestationManager; | 17 | import com.fh.service.sunvote.basestation.BasestationManager; |
| 13 | import com.fh.service.sunvote.keypad.KeypadManager; | 18 | import com.fh.service.sunvote.keypad.KeypadManager; |
| 14 | import com.fh.service.sunvote.school.SchoolManager; | 19 | import com.fh.service.sunvote.school.SchoolManager; |
| 15 | import com.fh.util.PageData; | 20 | import com.fh.util.PageData; |
| 21 | +import com.fh.util.Tools; | ||
| 16 | 22 | ||
| 17 | @Controller | 23 | @Controller |
| 18 | -@RequestMapping(value="/api") | 24 | +@RequestMapping(value = "/api") |
| 19 | public class ApiServer extends BaseController { | 25 | public class ApiServer extends BaseController { |
| 20 | 26 | ||
| 21 | - @Resource(name="schoolService") | 27 | + @Resource(name = "schoolService") |
| 22 | private SchoolManager schoolService; | 28 | private SchoolManager schoolService; |
| 23 | - | ||
| 24 | - @Resource(name="basestationService") | 29 | + |
| 30 | + @Resource(name = "basestationService") | ||
| 25 | private BasestationManager basestationService; | 31 | private BasestationManager basestationService; |
| 26 | - | ||
| 27 | - @Resource(name="keypadService") | 32 | + |
| 33 | + @Resource(name = "keypadService") | ||
| 28 | private KeypadManager keypadService; | 34 | private KeypadManager keypadService; |
| 29 | - | ||
| 30 | - | ||
| 31 | - @RequestMapping(value="/school" ,produces="application/json;charset=UTF-8") | 35 | + |
| 36 | + @Resource(name = "feedbackService") | ||
| 37 | + private FeedbackManager feedbackService; | ||
| 38 | + | ||
| 39 | + @RequestMapping(value = "/school", produces = "application/json;charset=UTF-8") | ||
| 32 | @ResponseBody | 40 | @ResponseBody |
| 33 | - public Object schoolDefault() throws Exception{ | 41 | + public Object schoolDefault() throws Exception { |
| 34 | return schoolList(); | 42 | return schoolList(); |
| 35 | } | 43 | } |
| 36 | - | ||
| 37 | - | ||
| 38 | - @RequestMapping(value="/school/list" ,produces="application/json;charset=UTF-8") | 44 | + |
| 45 | + @RequestMapping(value = "/school/list", produces = "application/json;charset=UTF-8") | ||
| 39 | @ResponseBody | 46 | @ResponseBody |
| 40 | - public Object schoolList() throws Exception{ | 47 | + public Object schoolList() throws Exception { |
| 41 | PageData pd = this.getPageData(); | 48 | PageData pd = this.getPageData(); |
| 42 | String id = pd.getString("ID"); | 49 | String id = pd.getString("ID"); |
| 43 | - if(id != null && !"".equals(id)){ | 50 | + if (id != null && !"".equals(id)) { |
| 44 | PageData ret = schoolService.findById(pd); | 51 | PageData ret = schoolService.findById(pd); |
| 45 | ResponseGson<PageData> res = new ResponseGson(); | 52 | ResponseGson<PageData> res = new ResponseGson(); |
| 46 | res.setData(ret); | 53 | res.setData(ret); |
| 47 | return res.toJson(); | 54 | return res.toJson(); |
| 48 | - }else{ | 55 | + } else { |
| 49 | List<PageData> ret = schoolService.listAll(pd); | 56 | List<PageData> ret = schoolService.listAll(pd); |
| 50 | ResponseGson<List<PageData>> res = new ResponseGson(); | 57 | ResponseGson<List<PageData>> res = new ResponseGson(); |
| 51 | res.setData(ret); | 58 | res.setData(ret); |
| 52 | return res.toJson(); | 59 | return res.toJson(); |
| 53 | } | 60 | } |
| 54 | } | 61 | } |
| 55 | - @RequestMapping(value="/school/add" ,produces="application/json;charset=UTF-8") | 62 | + |
| 63 | + @RequestMapping(value = "/school/add", produces = "application/json;charset=UTF-8") | ||
| 56 | @ResponseBody | 64 | @ResponseBody |
| 57 | - public Object schoolAdd() throws Exception{ | 65 | + public Object schoolAdd() throws Exception { |
| 58 | PageData pd = this.getPageData(); | 66 | PageData pd = this.getPageData(); |
| 59 | ResponseGson<Integer> res = new ResponseGson(); | 67 | ResponseGson<Integer> res = new ResponseGson(); |
| 60 | try { | 68 | try { |
| @@ -64,70 +72,69 @@ public class ApiServer extends BaseController { | @@ -64,70 +72,69 @@ public class ApiServer extends BaseController { | ||
| 64 | } else { | 72 | } else { |
| 65 | res.setDataError(); | 73 | res.setDataError(); |
| 66 | } | 74 | } |
| 67 | - }catch(Exception e){ | 75 | + } catch (Exception e) { |
| 68 | res.setDataError(); | 76 | res.setDataError(); |
| 69 | } | 77 | } |
| 70 | return res.toJson(); | 78 | return res.toJson(); |
| 71 | } | 79 | } |
| 72 | - | ||
| 73 | - @RequestMapping(value="/school/delete" ,produces="application/json;charset=UTF-8") | 80 | + |
| 81 | + @RequestMapping(value = "/school/delete", produces = "application/json;charset=UTF-8") | ||
| 74 | @ResponseBody | 82 | @ResponseBody |
| 75 | - public Object schoolDelete() throws Exception{ | 83 | + public Object schoolDelete() throws Exception { |
| 76 | ResponseGson<PageData> res = new ResponseGson(); | 84 | ResponseGson<PageData> res = new ResponseGson(); |
| 77 | PageData pd = this.getPageData(); | 85 | PageData pd = this.getPageData(); |
| 78 | String id = pd.getString("ID"); | 86 | String id = pd.getString("ID"); |
| 79 | - if(id != null && !"".equals(id)){ | 87 | + if (id != null && !"".equals(id)) { |
| 80 | try { | 88 | try { |
| 81 | schoolService.delete(pd); | 89 | schoolService.delete(pd); |
| 82 | } catch (Exception e) { | 90 | } catch (Exception e) { |
| 83 | res.setDataError(); | 91 | res.setDataError(); |
| 84 | } | 92 | } |
| 85 | - }else{ | 93 | + } else { |
| 86 | res.setDataError(); | 94 | res.setDataError(); |
| 87 | } | 95 | } |
| 88 | return res.toJson(); | 96 | return res.toJson(); |
| 89 | } | 97 | } |
| 90 | - | ||
| 91 | - @RequestMapping(value="/school/update" ,produces="application/json;charset=UTF-8") | 98 | + |
| 99 | + @RequestMapping(value = "/school/update", produces = "application/json;charset=UTF-8") | ||
| 92 | @ResponseBody | 100 | @ResponseBody |
| 93 | - public Object schoolUpdate() throws Exception{ | 101 | + public Object schoolUpdate() throws Exception { |
| 94 | ResponseGson<PageData> res = new ResponseGson(); | 102 | ResponseGson<PageData> res = new ResponseGson(); |
| 95 | PageData pd = this.getPageData(); | 103 | PageData pd = this.getPageData(); |
| 96 | String id = pd.getString("ID"); | 104 | String id = pd.getString("ID"); |
| 97 | - if(id != null && !"".equals(id)){ | 105 | + if (id != null && !"".equals(id)) { |
| 98 | try { | 106 | try { |
| 99 | schoolService.edit(pd); | 107 | schoolService.edit(pd); |
| 100 | } catch (Exception e) { | 108 | } catch (Exception e) { |
| 101 | res.setDataError(); | 109 | res.setDataError(); |
| 102 | } | 110 | } |
| 103 | - }else{ | 111 | + } else { |
| 104 | res.setDataError(); | 112 | res.setDataError(); |
| 105 | } | 113 | } |
| 106 | return res.toJson(); | 114 | return res.toJson(); |
| 107 | } | 115 | } |
| 108 | - | ||
| 109 | - | ||
| 110 | - @RequestMapping(value="/basestation/list" ,produces="application/json;charset=UTF-8") | 116 | + |
| 117 | + @RequestMapping(value = "/basestation/list", produces = "application/json;charset=UTF-8") | ||
| 111 | @ResponseBody | 118 | @ResponseBody |
| 112 | - public Object basestation() throws Exception{ | 119 | + public Object basestation() throws Exception { |
| 113 | PageData pd = this.getPageData(); | 120 | PageData pd = this.getPageData(); |
| 114 | String id = pd.getString("ID"); | 121 | String id = pd.getString("ID"); |
| 115 | - if(id != null && !"".equals(id)){ | 122 | + if (id != null && !"".equals(id)) { |
| 116 | pd.put("BASESTATION_ID", pd.getString("id")); | 123 | pd.put("BASESTATION_ID", pd.getString("id")); |
| 117 | PageData ret = basestationService.findById(pd); | 124 | PageData ret = basestationService.findById(pd); |
| 118 | ResponseGson<PageData> res = new ResponseGson(); | 125 | ResponseGson<PageData> res = new ResponseGson(); |
| 119 | res.setData(ret); | 126 | res.setData(ret); |
| 120 | return res.toJson(); | 127 | return res.toJson(); |
| 121 | - }else{ | 128 | + } else { |
| 122 | List<PageData> ret = basestationService.listAll(pd); | 129 | List<PageData> ret = basestationService.listAll(pd); |
| 123 | ResponseGson<List<PageData>> res = new ResponseGson(); | 130 | ResponseGson<List<PageData>> res = new ResponseGson(); |
| 124 | res.setData(ret); | 131 | res.setData(ret); |
| 125 | return res.toJson(); | 132 | return res.toJson(); |
| 126 | } | 133 | } |
| 127 | - | 134 | + |
| 128 | } | 135 | } |
| 129 | - | ||
| 130 | - @RequestMapping(value="/basestation/add" ,produces="application/json;charset=UTF-8") | 136 | + |
| 137 | + @RequestMapping(value = "/basestation/add", produces = "application/json;charset=UTF-8") | ||
| 131 | @ResponseBody | 138 | @ResponseBody |
| 132 | public Object basestationAdd() throws Exception { | 139 | public Object basestationAdd() throws Exception { |
| 133 | ResponseGson<PageData> res = new ResponseGson(); | 140 | ResponseGson<PageData> res = new ResponseGson(); |
| @@ -138,67 +145,67 @@ public class ApiServer extends BaseController { | @@ -138,67 +145,67 @@ public class ApiServer extends BaseController { | ||
| 138 | } catch (Exception ex) { | 145 | } catch (Exception ex) { |
| 139 | res.setDataError(); | 146 | res.setDataError(); |
| 140 | } | 147 | } |
| 141 | - }else{ | 148 | + } else { |
| 142 | res.setDataError(); | 149 | res.setDataError(); |
| 143 | } | 150 | } |
| 144 | return res.toJson(); | 151 | return res.toJson(); |
| 145 | } | 152 | } |
| 146 | - | ||
| 147 | - @RequestMapping(value="/basestation/delete" ,produces="application/json;charset=UTF-8") | 153 | + |
| 154 | + @RequestMapping(value = "/basestation/delete", produces = "application/json;charset=UTF-8") | ||
| 148 | @ResponseBody | 155 | @ResponseBody |
| 149 | - public Object basestationDelete() throws Exception{ | 156 | + public Object basestationDelete() throws Exception { |
| 150 | PageData pd = this.getPageData(); | 157 | PageData pd = this.getPageData(); |
| 151 | ResponseGson<PageData> res = new ResponseGson(); | 158 | ResponseGson<PageData> res = new ResponseGson(); |
| 152 | String id = pd.getString("ID"); | 159 | String id = pd.getString("ID"); |
| 153 | - if(id != null && !"".equals(id)){ | 160 | + if (id != null && !"".equals(id)) { |
| 154 | try { | 161 | try { |
| 155 | basestationService.delete(pd); | 162 | basestationService.delete(pd); |
| 156 | } catch (Exception e) { | 163 | } catch (Exception e) { |
| 157 | res.setDataError(); | 164 | res.setDataError(); |
| 158 | } | 165 | } |
| 159 | - }else{ | 166 | + } else { |
| 160 | res.setDataError(); | 167 | res.setDataError(); |
| 161 | } | 168 | } |
| 162 | return res.toJson(); | 169 | return res.toJson(); |
| 163 | } | 170 | } |
| 164 | - | ||
| 165 | - @RequestMapping(value="/basestation/update" ,produces="application/json;charset=UTF-8") | 171 | + |
| 172 | + @RequestMapping(value = "/basestation/update", produces = "application/json;charset=UTF-8") | ||
| 166 | @ResponseBody | 173 | @ResponseBody |
| 167 | - public Object basestationUpdate() throws Exception{ | 174 | + public Object basestationUpdate() throws Exception { |
| 168 | PageData pd = this.getPageData(); | 175 | PageData pd = this.getPageData(); |
| 169 | ResponseGson<PageData> res = new ResponseGson(); | 176 | ResponseGson<PageData> res = new ResponseGson(); |
| 170 | String id = pd.getString("ID"); | 177 | String id = pd.getString("ID"); |
| 171 | - if(id != null && !"".equals(id)){ | 178 | + if (id != null && !"".equals(id)) { |
| 172 | try { | 179 | try { |
| 173 | basestationService.edit(pd); | 180 | basestationService.edit(pd); |
| 174 | } catch (Exception e) { | 181 | } catch (Exception e) { |
| 175 | res.setDataError(); | 182 | res.setDataError(); |
| 176 | } | 183 | } |
| 177 | - }else{ | 184 | + } else { |
| 178 | res.setDataError(); | 185 | res.setDataError(); |
| 179 | } | 186 | } |
| 180 | return res.toJson(); | 187 | return res.toJson(); |
| 181 | } | 188 | } |
| 182 | - | ||
| 183 | - @RequestMapping(value="/keypad/list" ,produces="application/json;charset=UTF-8") | 189 | + |
| 190 | + @RequestMapping(value = "/keypad/list", produces = "application/json;charset=UTF-8") | ||
| 184 | @ResponseBody | 191 | @ResponseBody |
| 185 | - public Object keypad() throws Exception{ | 192 | + public Object keypad() throws Exception { |
| 186 | PageData pd = this.getPageData(); | 193 | PageData pd = this.getPageData(); |
| 187 | String id = pd.getString("ID"); | 194 | String id = pd.getString("ID"); |
| 188 | - if(id != null && !"".equals(id)){ | 195 | + if (id != null && !"".equals(id)) { |
| 189 | PageData ret = keypadService.findById(pd); | 196 | PageData ret = keypadService.findById(pd); |
| 190 | ResponseGson<PageData> res = new ResponseGson(); | 197 | ResponseGson<PageData> res = new ResponseGson(); |
| 191 | res.setData(ret); | 198 | res.setData(ret); |
| 192 | return res.toJson(); | 199 | return res.toJson(); |
| 193 | - }else{ | 200 | + } else { |
| 194 | List<PageData> ret = keypadService.listAll(pd); | 201 | List<PageData> ret = keypadService.listAll(pd); |
| 195 | ResponseGson<List<PageData>> res = new ResponseGson(); | 202 | ResponseGson<List<PageData>> res = new ResponseGson(); |
| 196 | res.setData(ret); | 203 | res.setData(ret); |
| 197 | return res.toJson(); | 204 | return res.toJson(); |
| 198 | } | 205 | } |
| 199 | } | 206 | } |
| 200 | - | ||
| 201 | - @RequestMapping(value="/keypad/add" ,produces="application/json;charset=UTF-8") | 207 | + |
| 208 | + @RequestMapping(value = "/keypad/add", produces = "application/json;charset=UTF-8") | ||
| 202 | @ResponseBody | 209 | @ResponseBody |
| 203 | public Object keypadAdd() throws Exception { | 210 | public Object keypadAdd() throws Exception { |
| 204 | PageData pd = this.getPageData(); | 211 | PageData pd = this.getPageData(); |
| @@ -210,41 +217,76 @@ public class ApiServer extends BaseController { | @@ -210,41 +217,76 @@ public class ApiServer extends BaseController { | ||
| 210 | } | 217 | } |
| 211 | return res.toJson(); | 218 | return res.toJson(); |
| 212 | } | 219 | } |
| 213 | - | ||
| 214 | - @RequestMapping(value="/keypad/delete" ,produces="application/json;charset=UTF-8") | 220 | + |
| 221 | + @RequestMapping(value = "/keypad/delete", produces = "application/json;charset=UTF-8") | ||
| 215 | @ResponseBody | 222 | @ResponseBody |
| 216 | - public Object keypadDelete() throws Exception{ | 223 | + public Object keypadDelete() throws Exception { |
| 217 | PageData pd = this.getPageData(); | 224 | PageData pd = this.getPageData(); |
| 218 | ResponseGson<PageData> res = new ResponseGson(); | 225 | ResponseGson<PageData> res = new ResponseGson(); |
| 219 | String id = pd.getString("ID"); | 226 | String id = pd.getString("ID"); |
| 220 | - if(id != null && !"".equals(id)){ | 227 | + if (id != null && !"".equals(id)) { |
| 221 | try { | 228 | try { |
| 222 | keypadService.delete(pd); | 229 | keypadService.delete(pd); |
| 223 | } catch (Exception e) { | 230 | } catch (Exception e) { |
| 224 | res.setDataError(); | 231 | res.setDataError(); |
| 225 | } | 232 | } |
| 226 | - }else{ | 233 | + } else { |
| 227 | res.setDataError(); | 234 | res.setDataError(); |
| 228 | } | 235 | } |
| 229 | return res.toJson(); | 236 | return res.toJson(); |
| 230 | } | 237 | } |
| 231 | - | ||
| 232 | - @RequestMapping(value="/keypad/update" ,produces="application/json;charset=UTF-8") | 238 | + |
| 239 | + @RequestMapping(value = "/keypad/update", produces = "application/json;charset=UTF-8") | ||
| 233 | @ResponseBody | 240 | @ResponseBody |
| 234 | - public Object keypadUpdate() throws Exception{ | 241 | + public Object keypadUpdate() throws Exception { |
| 235 | PageData pd = this.getPageData(); | 242 | PageData pd = this.getPageData(); |
| 236 | ResponseGson<PageData> res = new ResponseGson(); | 243 | ResponseGson<PageData> res = new ResponseGson(); |
| 237 | String id = pd.getString("ID"); | 244 | String id = pd.getString("ID"); |
| 238 | - if(id != null && !"".equals(id)){ | ||
| 239 | - try{ | 245 | + if (id != null && !"".equals(id)) { |
| 246 | + try { | ||
| 240 | keypadService.edit(pd); | 247 | keypadService.edit(pd); |
| 241 | - }catch(Exception ex){ | 248 | + } catch (Exception ex) { |
| 242 | res.setDataError(); | 249 | res.setDataError(); |
| 243 | } | 250 | } |
| 244 | - }else{ | 251 | + } else { |
| 245 | res.setDataError(); | 252 | res.setDataError(); |
| 246 | } | 253 | } |
| 247 | return res.toJson(); | 254 | return res.toJson(); |
| 248 | } | 255 | } |
| 249 | - | 256 | + |
| 257 | + @RequestMapping(value = "/feedback/add", produces = "application/json;charset=UTF-8") | ||
| 258 | + @ResponseBody | ||
| 259 | + public Object feedbackAdd(MultipartFile file, HttpServletRequest request) | ||
| 260 | + throws Exception { | ||
| 261 | + PageData pd = this.getPageData(); | ||
| 262 | + ResponseGson<PageData> res = new ResponseGson(); | ||
| 263 | + String path = request.getSession().getServletContext() | ||
| 264 | + .getRealPath("/images"); | ||
| 265 | + if (file != null) { | ||
| 266 | + String fileName = file.getOriginalFilename(); | ||
| 267 | + File dir = new File(path, Tools.date2Str(new Date()) + fileName); | ||
| 268 | + if (!dir.exists()) { | ||
| 269 | + dir.mkdirs(); | ||
| 270 | + } | ||
| 271 | + file.transferTo(dir); | ||
| 272 | + | ||
| 273 | + pd.put("PROBLEM_PATH", dir.getAbsolutePath()); | ||
| 274 | + } | ||
| 275 | + String id = pd.getString("ID"); | ||
| 276 | + if (id != null && !"".equals(id)) { | ||
| 277 | + try { | ||
| 278 | + feedbackService.edit(pd); | ||
| 279 | + } catch (Exception ex) { | ||
| 280 | + res.setDataError(); | ||
| 281 | + } | ||
| 282 | + } else { | ||
| 283 | + pd.put("CREATE_DATE", Tools.date2Str(new Date())); | ||
| 284 | + try { | ||
| 285 | + feedbackService.save(pd); | ||
| 286 | + } catch (Exception ex) { | ||
| 287 | + res.setDataError(); | ||
| 288 | + } | ||
| 289 | + } | ||
| 290 | + return res.toJson(); | ||
| 291 | + } | ||
| 250 | } | 292 | } |
src/com/fh/controller/app/appuser/IntAppuserController.java
src/com/fh/controller/app/redis/RedisDemoController.java
src/com/fh/controller/app/sysuser/SysUserController.java
src/com/fh/controller/base/BaseController.java
| @@ -17,7 +17,6 @@ import com.fh.util.PageData; | @@ -17,7 +17,6 @@ import com.fh.util.PageData; | ||
| 17 | import com.fh.util.UuidUtil; | 17 | import com.fh.util.UuidUtil; |
| 18 | 18 | ||
| 19 | /** | 19 | /** |
| 20 | - * @author Elvis | ||
| 21 | * 修改时间:2015、12、11 | 20 | * 修改时间:2015、12、11 |
| 22 | */ | 21 | */ |
| 23 | public class BaseController { | 22 | public class BaseController { |
src/com/fh/controller/dst/datasource2/DataSource2Controller.java
| @@ -26,7 +26,6 @@ import com.fh.service.dst.datasource2.DataSource2Manager; | @@ -26,7 +26,6 @@ import com.fh.service.dst.datasource2.DataSource2Manager; | ||
| 26 | 26 | ||
| 27 | /** | 27 | /** |
| 28 | * 说明:第2数据源例子 | 28 | * 说明:第2数据源例子 |
| 29 | - * 创建人:Elvis | ||
| 30 | * 创建时间:2016-04-29 | 29 | * 创建时间:2016-04-29 |
| 31 | */ | 30 | */ |
| 32 | @Controller | 31 | @Controller |
src/com/fh/controller/fhdb/brdb/BRdbController.java
src/com/fh/controller/fhoa/datajur/DatajurController.java
| @@ -25,7 +25,6 @@ import com.fh.service.fhoa.department.DepartmentManager; | @@ -25,7 +25,6 @@ import com.fh.service.fhoa.department.DepartmentManager; | ||
| 25 | 25 | ||
| 26 | /** | 26 | /** |
| 27 | * 说明:组织数据权限表 | 27 | * 说明:组织数据权限表 |
| 28 | - * 创建人:Elvis | ||
| 29 | * 创建时间:2016-04-26 | 28 | * 创建时间:2016-04-26 |
| 30 | */ | 29 | */ |
| 31 | @Controller | 30 | @Controller |
src/com/fh/controller/fhoa/department/DepartmentController.java
src/com/fh/controller/fhoa/fhfile/FhfileController.java
src/com/fh/controller/fhoa/staff/StaffController.java
src/com/fh/controller/information/attached/AttachedController.java
| @@ -30,7 +30,6 @@ import com.fh.service.information.attachedmx.AttachedMxManager; | @@ -30,7 +30,6 @@ import com.fh.service.information.attachedmx.AttachedMxManager; | ||
| 30 | 30 | ||
| 31 | /** | 31 | /** |
| 32 | * 说明:主附结构 | 32 | * 说明:主附结构 |
| 33 | - * 创建人:FH Q313596790 | ||
| 34 | * 创建时间:2016-04-17 | 33 | * 创建时间:2016-04-17 |
| 35 | */ | 34 | */ |
| 36 | @Controller | 35 | @Controller |
src/com/fh/controller/information/attachedmx/AttachedMxController.java
| @@ -26,7 +26,6 @@ import com.fh.service.information.attachedmx.AttachedMxManager; | @@ -26,7 +26,6 @@ import com.fh.service.information.attachedmx.AttachedMxManager; | ||
| 26 | 26 | ||
| 27 | /** | 27 | /** |
| 28 | * 说明:明细表 | 28 | * 说明:明细表 |
| 29 | - * 创建人:FH Q313596790 | ||
| 30 | * 创建时间:2016-04-17 | 29 | * 创建时间:2016-04-17 |
| 31 | */ | 30 | */ |
| 32 | @Controller | 31 | @Controller |
src/com/fh/controller/information/linkage/Linkage.java
src/com/fh/controller/information/pictures/PicturesController.java
| @@ -39,7 +39,6 @@ import com.fh.service.information.pictures.PicturesManager; | @@ -39,7 +39,6 @@ import com.fh.service.information.pictures.PicturesManager; | ||
| 39 | 39 | ||
| 40 | /** | 40 | /** |
| 41 | * 类名称:图片管理 | 41 | * 类名称:图片管理 |
| 42 | - * 创建人:FH Q313596790 | ||
| 43 | * 创建时间:2015-03-21 | 42 | * 创建时间:2015-03-21 |
| 44 | */ | 43 | */ |
| 45 | @Controller | 44 | @Controller |
src/com/fh/controller/system/appuser/AppuserController.java
| @@ -31,8 +31,6 @@ import com.fh.util.ObjectExcelView; | @@ -31,8 +31,6 @@ import com.fh.util.ObjectExcelView; | ||
| 31 | import com.fh.util.PageData; | 31 | import com.fh.util.PageData; |
| 32 | 32 | ||
| 33 | /** | 33 | /** |
| 34 | - * 类名称:会员管理 | ||
| 35 | - * 创建人:FH Q313596790 | ||
| 36 | * 修改时间:2014年11月17日 | 34 | * 修改时间:2014年11月17日 |
| 37 | * @version | 35 | * @version |
| 38 | */ | 36 | */ |
src/com/fh/controller/system/buttonrights/ButtonrightsController.java
src/com/fh/controller/system/codeeditor/CodeEditorController.java
src/com/fh/controller/system/createcode/CreateCodeController.java
src/com/fh/controller/system/createcode/ReverseCreateCodeController.java
src/com/fh/controller/system/dictionaries/DictionariesController.java
| @@ -30,7 +30,6 @@ import com.fh.service.system.dictionaries.DictionariesManager; | @@ -30,7 +30,6 @@ import com.fh.service.system.dictionaries.DictionariesManager; | ||
| 30 | 30 | ||
| 31 | /** | 31 | /** |
| 32 | * 说明:数据字典 | 32 | * 说明:数据字典 |
| 33 | - * 创建人:FH Q313596790 | ||
| 34 | * 创建时间:2015-12-16 | 33 | * 创建时间:2015-12-16 |
| 35 | */ | 34 | */ |
| 36 | @Controller | 35 | @Controller |
src/com/fh/controller/system/fhbutton/FhbuttonController.java
| @@ -29,7 +29,6 @@ import com.fh.service.system.fhbutton.FhbuttonManager; | @@ -29,7 +29,6 @@ import com.fh.service.system.fhbutton.FhbuttonManager; | ||
| 29 | 29 | ||
| 30 | /** | 30 | /** |
| 31 | * 说明:按钮管理 | 31 | * 说明:按钮管理 |
| 32 | - * 创建人:FH Q313596790 | ||
| 33 | * 创建时间:2016-01-15 | 32 | * 创建时间:2016-01-15 |
| 34 | */ | 33 | */ |
| 35 | @Controller | 34 | @Controller |
src/com/fh/controller/system/fhlog/FHlogController.java
src/com/fh/controller/system/fhsms/FhsmsController.java
| @@ -28,8 +28,6 @@ import com.fh.util.Jurisdiction; | @@ -28,8 +28,6 @@ import com.fh.util.Jurisdiction; | ||
| 28 | import com.fh.service.system.fhsms.FhsmsManager; | 28 | import com.fh.service.system.fhsms.FhsmsManager; |
| 29 | 29 | ||
| 30 | /** | 30 | /** |
| 31 | - * 说明:站内信 | ||
| 32 | - * 创建人:FH Q313596790 | ||
| 33 | * 创建时间:2016-01-17 | 31 | * 创建时间:2016-01-17 |
| 34 | */ | 32 | */ |
| 35 | @Controller | 33 | @Controller |
src/com/fh/controller/system/head/HeadController.java
src/com/fh/controller/system/login/LoginController.java
src/com/fh/controller/system/loginimg/LogInImgController.java
| @@ -26,7 +26,6 @@ import com.fh.service.system.loginimg.LogInImgManager; | @@ -26,7 +26,6 @@ import com.fh.service.system.loginimg.LogInImgManager; | ||
| 26 | 26 | ||
| 27 | /** | 27 | /** |
| 28 | * 说明:登录页面背景图片 | 28 | * 说明:登录页面背景图片 |
| 29 | - * 创建人:FH Q313596790 | ||
| 30 | * 创建时间:2016-06-03 | 29 | * 创建时间:2016-06-03 |
| 31 | */ | 30 | */ |
| 32 | @Controller | 31 | @Controller |
src/com/fh/controller/system/menu/MenuController.java
| @@ -26,7 +26,6 @@ import com.fh.util.PageData; | @@ -26,7 +26,6 @@ import com.fh.util.PageData; | ||
| 26 | import com.fh.util.RightsHelper; | 26 | import com.fh.util.RightsHelper; |
| 27 | /** | 27 | /** |
| 28 | * 类名称:MenuController 菜单处理 | 28 | * 类名称:MenuController 菜单处理 |
| 29 | - * 创建人:FH | ||
| 30 | * 创建时间:2015年10月27日 | 29 | * 创建时间:2015年10月27日 |
| 31 | * @version | 30 | * @version |
| 32 | */ | 31 | */ |
src/com/fh/controller/system/onlinemanager/OnlineManagerController.java
src/com/fh/controller/system/role/RoleController.java
| @@ -33,7 +33,6 @@ import com.fh.util.RightsHelper; | @@ -33,7 +33,6 @@ import com.fh.util.RightsHelper; | ||
| 33 | import com.fh.util.Tools; | 33 | import com.fh.util.Tools; |
| 34 | /** | 34 | /** |
| 35 | * 类名称:RoleController 角色权限管理 | 35 | * 类名称:RoleController 角色权限管理 |
| 36 | - * 创建人:FH Q313596790 | ||
| 37 | * 修改时间:2015年11月6日 | 36 | * 修改时间:2015年11月6日 |
| 38 | * @version | 37 | * @version |
| 39 | */ | 38 | */ |
| @@ -115,6 +114,9 @@ public class RoleController extends BaseController { | @@ -115,6 +114,9 @@ public class RoleController extends BaseController { | ||
| 115 | try{ | 114 | try{ |
| 116 | pd = this.getPageData(); | 115 | pd = this.getPageData(); |
| 117 | String parent_id = pd.getString("PARENT_ID"); //父类角色id | 116 | String parent_id = pd.getString("PARENT_ID"); //父类角色id |
| 117 | + if("".equals(parent_id)){ | ||
| 118 | + parent_id = "1" ; | ||
| 119 | + } | ||
| 118 | pd.put("ROLE_ID", parent_id); | 120 | pd.put("ROLE_ID", parent_id); |
| 119 | if("0".equals(parent_id)){ | 121 | if("0".equals(parent_id)){ |
| 120 | pd.put("RIGHTS", ""); //菜单权限 | 122 | pd.put("RIGHTS", ""); //菜单权限 |
src/com/fh/controller/system/secCode/SecCodeController.java
src/com/fh/controller/system/tools/ToolController.java
| @@ -35,8 +35,6 @@ import com.fh.util.TwoDimensionCode; | @@ -35,8 +35,6 @@ import com.fh.util.TwoDimensionCode; | ||
| 35 | import com.fh.util.express.GetExpressMsg; | 35 | import com.fh.util.express.GetExpressMsg; |
| 36 | 36 | ||
| 37 | /** | 37 | /** |
| 38 | - * 类名称:ToolController 系统工具 | ||
| 39 | - * 创建人:FH Q313596790 | ||
| 40 | * 修改时间:2017年2月13日 | 38 | * 修改时间:2017年2月13日 |
| 41 | * @version | 39 | * @version |
| 42 | */ | 40 | */ |
src/com/fh/controller/system/user/UserController.java
src/com/fh/controller/system/userphoto/UserPhotoController.java
| @@ -20,7 +20,6 @@ import com.fh.service.system.userphoto.UserPhotoManager; | @@ -20,7 +20,6 @@ import com.fh.service.system.userphoto.UserPhotoManager; | ||
| 20 | 20 | ||
| 21 | /** | 21 | /** |
| 22 | * 说明:用户头像 | 22 | * 说明:用户头像 |
| 23 | - * 创建人:FH Q313596790 | ||
| 24 | * 创建时间:2016-06-05 | 23 | * 创建时间:2016-06-05 |
| 25 | */ | 24 | */ |
| 26 | @Controller | 25 | @Controller |
src/com/fh/controller/weixin/WeixinController.java
| @@ -38,9 +38,6 @@ import com.fh.util.Tools; | @@ -38,9 +38,6 @@ import com.fh.util.Tools; | ||
| 38 | * | 38 | * |
| 39 | * 类名称:WeixinController.java | 39 | * 类名称:WeixinController.java |
| 40 | * 类描述: 微信公共平台开发 | 40 | * 类描述: 微信公共平台开发 |
| 41 | -* @author FH 313596790 | ||
| 42 | -* 作者单位: | ||
| 43 | -* 联系方式: | ||
| 44 | * 创建时间:2014年7月10日 | 41 | * 创建时间:2014年7月10日 |
| 45 | * @version 1.0 | 42 | * @version 1.0 |
| 46 | */ | 43 | */ |
src/com/fh/controller/weixin/command/CommandController.java
| @@ -30,7 +30,6 @@ import com.fh.service.weixin.command.CommandService; | @@ -30,7 +30,6 @@ import com.fh.service.weixin.command.CommandService; | ||
| 30 | 30 | ||
| 31 | /** | 31 | /** |
| 32 | * 类名称:CommandController | 32 | * 类名称:CommandController |
| 33 | - * 创建人:FH 313596790 | ||
| 34 | * 创建时间:2015-05-09 | 33 | * 创建时间:2015-05-09 |
| 35 | */ | 34 | */ |
| 36 | @Controller | 35 | @Controller |
src/com/fh/controller/weixin/imgmsg/ImgmsgController.java
| @@ -30,7 +30,6 @@ import com.fh.service.weixin.imgmsg.ImgmsgService; | @@ -30,7 +30,6 @@ import com.fh.service.weixin.imgmsg.ImgmsgService; | ||
| 30 | 30 | ||
| 31 | /** | 31 | /** |
| 32 | * 类名称:ImgmsgController | 32 | * 类名称:ImgmsgController |
| 33 | - * 创建人:FH | ||
| 34 | * 创建时间:2015-05-10 | 33 | * 创建时间:2015-05-10 |
| 35 | */ | 34 | */ |
| 36 | @Controller | 35 | @Controller |
src/com/fh/controller/weixin/key/KeyController.java
| @@ -25,7 +25,6 @@ import com.fh.service.weixin.mymenu.MyMenuManager; | @@ -25,7 +25,6 @@ import com.fh.service.weixin.mymenu.MyMenuManager; | ||
| 25 | 25 | ||
| 26 | /** | 26 | /** |
| 27 | * 说明:公众平台Key信息 | 27 | * 说明:公众平台Key信息 |
| 28 | - * 创建人:FH Q313596790 | ||
| 29 | * 创建时间:2016-10-30 | 28 | * 创建时间:2016-10-30 |
| 30 | */ | 29 | */ |
| 31 | @Controller | 30 | @Controller |
src/com/fh/controller/weixin/mymenu/MyMenuController.java
| @@ -30,8 +30,6 @@ import com.fh.service.weixin.key.KeyManager; | @@ -30,8 +30,6 @@ import com.fh.service.weixin.key.KeyManager; | ||
| 30 | import com.fh.service.weixin.mymenu.MyMenuManager; | 30 | import com.fh.service.weixin.mymenu.MyMenuManager; |
| 31 | 31 | ||
| 32 | /** | 32 | /** |
| 33 | - * 说明:微信自定义菜单 | ||
| 34 | - * 创建人:FH Q313596790 | ||
| 35 | * 创建时间:2016-10-30 | 33 | * 创建时间:2016-10-30 |
| 36 | */ | 34 | */ |
| 37 | @Controller | 35 | @Controller |
src/com/fh/controller/weixin/textmsg/TextmsgController.java
| @@ -32,7 +32,6 @@ import com.fh.service.weixin.textmsg.TextmsgService; | @@ -32,7 +32,6 @@ import com.fh.service.weixin.textmsg.TextmsgService; | ||
| 32 | 32 | ||
| 33 | /** | 33 | /** |
| 34 | * 类名称:TextmsgController | 34 | * 类名称:TextmsgController |
| 35 | - * 创建人:FH | ||
| 36 | * 创建时间:2015-05-05 | 35 | * 创建时间:2015-05-05 |
| 37 | */ | 36 | */ |
| 38 | @Controller | 37 | @Controller |
src/com/fh/dao/AbstractBaseRedisDao.java
| @@ -7,7 +7,6 @@ import org.springframework.data.redis.serializer.RedisSerializer; | @@ -7,7 +7,6 @@ import org.springframework.data.redis.serializer.RedisSerializer; | ||
| 7 | 7 | ||
| 8 | /** | 8 | /** |
| 9 | * redis Dao | 9 | * redis Dao |
| 10 | - * @author Elvis | ||
| 11 | * 修改时间:2016、5、2 | 10 | * 修改时间:2016、5、2 |
| 12 | */ | 11 | */ |
| 13 | public abstract class AbstractBaseRedisDao<K, V> { | 12 | public abstract class AbstractBaseRedisDao<K, V> { |
src/com/fh/dao/DAO.java
src/com/fh/dao/DaoSupport.java
| @@ -10,7 +10,6 @@ import org.apache.ibatis.session.SqlSessionFactory; | @@ -10,7 +10,6 @@ import org.apache.ibatis.session.SqlSessionFactory; | ||
| 10 | import org.mybatis.spring.SqlSessionTemplate; | 10 | import org.mybatis.spring.SqlSessionTemplate; |
| 11 | import org.springframework.stereotype.Repository; | 11 | import org.springframework.stereotype.Repository; |
| 12 | /** | 12 | /** |
| 13 | - * @author Elvis | ||
| 14 | * 修改时间:2015、12、11 | 13 | * 修改时间:2015、12、11 |
| 15 | */ | 14 | */ |
| 16 | @Repository("daoSupport") | 15 | @Repository("daoSupport") |
src/com/fh/dao/DaoSupport2.java
| @@ -10,8 +10,6 @@ import org.apache.ibatis.session.SqlSessionFactory; | @@ -10,8 +10,6 @@ import org.apache.ibatis.session.SqlSessionFactory; | ||
| 10 | import org.mybatis.spring.SqlSessionTemplate; | 10 | import org.mybatis.spring.SqlSessionTemplate; |
| 11 | import org.springframework.stereotype.Repository; | 11 | import org.springframework.stereotype.Repository; |
| 12 | /** | 12 | /** |
| 13 | - * 第2数据源 | ||
| 14 | - * @author FH Q 31 359 6790 | ||
| 15 | * 修改时间:2016、04、29 | 13 | * 修改时间:2016、04、29 |
| 16 | */ | 14 | */ |
| 17 | @Repository("daoSupport2") | 15 | @Repository("daoSupport2") |
src/com/fh/dao/redis/RedisDao.java
src/com/fh/entity/Page.java
| @@ -4,11 +4,6 @@ import com.fh.util.Const; | @@ -4,11 +4,6 @@ import com.fh.util.Const; | ||
| 4 | import com.fh.util.PageData; | 4 | import com.fh.util.PageData; |
| 5 | import com.fh.util.Tools; | 5 | import com.fh.util.Tools; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 分页类 | ||
| 9 | - * @author FH QQ 313596790[青苔] | ||
| 10 | - * 创建时间:2014年6月28日 | ||
| 11 | - */ | ||
| 12 | public class Page { | 7 | public class Page { |
| 13 | 8 | ||
| 14 | private int showCount; //每页显示记录数 | 9 | private int showCount; //每页显示记录数 |
src/com/fh/entity/system/Department.java
src/com/fh/entity/system/Dictionaries.java
| @@ -6,10 +6,6 @@ import java.util.List; | @@ -6,10 +6,6 @@ import java.util.List; | ||
| 6 | * | 6 | * |
| 7 | * 类名称:数据字典 | 7 | * 类名称:数据字典 |
| 8 | * 类描述: | 8 | * 类描述: |
| 9 | -* @author FH QQ 313596790[青苔] | ||
| 10 | -* 作者单位: | ||
| 11 | -* 联系方式: | ||
| 12 | -* 修改时间:2015年12月16日 | ||
| 13 | * @version 2.0 | 9 | * @version 2.0 |
| 14 | */ | 10 | */ |
| 15 | public class Dictionaries { | 11 | public class Dictionaries { |
src/com/fh/entity/system/Menu.java
src/com/fh/entity/system/Role.java
| 1 | package com.fh.entity.system; | 1 | package com.fh.entity.system; |
| 2 | -/** | ||
| 3 | - * | ||
| 4 | -* 类名称:角色 | ||
| 5 | -* 类描述: | ||
| 6 | -* @author FH QQ 313596790[青苔] | ||
| 7 | -* 作者单位: | ||
| 8 | -* 联系方式: | ||
| 9 | -* 创建时间:2014年3月10日 | ||
| 10 | -* @version 1.0 | ||
| 11 | - */ | 2 | + |
| 12 | public class Role { | 3 | public class Role { |
| 13 | private String ROLE_ID; | 4 | private String ROLE_ID; |
| 14 | private String ROLE_NAME; | 5 | private String ROLE_NAME; |
src/com/fh/entity/system/User.java
| @@ -2,16 +2,7 @@ package com.fh.entity.system; | @@ -2,16 +2,7 @@ package com.fh.entity.system; | ||
| 2 | 2 | ||
| 3 | import com.fh.entity.Page; | 3 | import com.fh.entity.Page; |
| 4 | 4 | ||
| 5 | -/** | ||
| 6 | - * | ||
| 7 | -* 类名称:用户 | ||
| 8 | -* 类描述: | ||
| 9 | -* @author FH QQ 313596790[青苔] | ||
| 10 | -* 作者单位: | ||
| 11 | -* 联系方式: | ||
| 12 | -* 创建时间:2014年6月28日 | ||
| 13 | -* @version 1.0 | ||
| 14 | - */ | 5 | + |
| 15 | public class User { | 6 | public class User { |
| 16 | private String USER_ID; //用户id | 7 | private String USER_ID; //用户id |
| 17 | private String USERNAME; //用户名 | 8 | private String USERNAME; //用户名 |
src/com/fh/entity/weixin/Button.java
src/com/fh/entity/weixin/CommonButton.java
src/com/fh/entity/weixin/ComplexButton.java
src/com/fh/entity/weixin/Menu.java
src/com/fh/entity/weixin/ViewButton.java
| 1 | package com.fh.entity.weixin; | 1 | package com.fh.entity.weixin; |
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | -/** view类型的菜单对象 | ||
| 5 | - * @author FH | ||
| 6 | - * Q: 3 13596 79 0 | ||
| 7 | - * 2016.11.1 | ||
| 8 | - */ | ||
| 9 | public class ViewButton extends Button{ | 4 | public class ViewButton extends Button{ |
| 10 | private String type; //菜单类型 | 5 | private String type; //菜单类型 |
| 11 | private String url; //view路径值 | 6 | private String url; //view路径值 |
src/com/fh/filter/LoginFilter.java
| @@ -13,10 +13,6 @@ import javax.servlet.http.HttpServletResponse; | @@ -13,10 +13,6 @@ import javax.servlet.http.HttpServletResponse; | ||
| 13 | 13 | ||
| 14 | import com.fh.controller.base.BaseController; | 14 | import com.fh.controller.base.BaseController; |
| 15 | 15 | ||
| 16 | -/**登录验证过滤器(废弃 com.fh.interceptor替代) | ||
| 17 | - * @author FH QQ 313596790[青苔] | ||
| 18 | - * | ||
| 19 | - */ | ||
| 20 | public class LoginFilter extends BaseController implements Filter { | 16 | public class LoginFilter extends BaseController implements Filter { |
| 21 | 17 | ||
| 22 | /** | 18 | /** |
src/com/fh/filter/startFilter.java
| @@ -25,12 +25,6 @@ import com.fh.util.DbFH; | @@ -25,12 +25,6 @@ import com.fh.util.DbFH; | ||
| 25 | import com.fh.util.Tools; | 25 | import com.fh.util.Tools; |
| 26 | import com.fh.controller.base.BaseController; | 26 | import com.fh.controller.base.BaseController; |
| 27 | 27 | ||
| 28 | -/** | ||
| 29 | - * 启动tomcat时运行此类 | ||
| 30 | - * 创建人:FH FH QQ 313596790[青苔] | ||
| 31 | - * 创建时间:2014年2月17日 | ||
| 32 | - * @version | ||
| 33 | - */ | ||
| 34 | public class startFilter extends BaseController implements Filter{ | 28 | public class startFilter extends BaseController implements Filter{ |
| 35 | 29 | ||
| 36 | /** | 30 | /** |
src/com/fh/interceptor/LoginHandlerInterceptor.java
| @@ -6,16 +6,6 @@ import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; | @@ -6,16 +6,6 @@ import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; | ||
| 6 | import com.fh.entity.system.User; | 6 | import com.fh.entity.system.User; |
| 7 | import com.fh.util.Const; | 7 | import com.fh.util.Const; |
| 8 | import com.fh.util.Jurisdiction; | 8 | import com.fh.util.Jurisdiction; |
| 9 | -/** | ||
| 10 | - * | ||
| 11 | -* 类名称:登录过滤,权限验证 | ||
| 12 | -* 类描述: | ||
| 13 | -* @author Elvis | ||
| 14 | -* 作者单位: | ||
| 15 | -* 联系方式: | ||
| 16 | -* 创建时间:2015年11月2日 | ||
| 17 | -* @version 1.6 | ||
| 18 | - */ | ||
| 19 | public class LoginHandlerInterceptor extends HandlerInterceptorAdapter{ | 9 | public class LoginHandlerInterceptor extends HandlerInterceptorAdapter{ |
| 20 | 10 | ||
| 21 | @Override | 11 | @Override |
src/com/fh/interceptor/shiro/ShiroRealm.java
| @@ -10,10 +10,6 @@ import org.apache.shiro.realm.AuthorizingRealm; | @@ -10,10 +10,6 @@ import org.apache.shiro.realm.AuthorizingRealm; | ||
| 10 | import org.apache.shiro.subject.PrincipalCollection; | 10 | import org.apache.shiro.subject.PrincipalCollection; |
| 11 | 11 | ||
| 12 | 12 | ||
| 13 | -/** | ||
| 14 | - * @author fh | ||
| 15 | - * 2015-3-6 | ||
| 16 | - */ | ||
| 17 | public class ShiroRealm extends AuthorizingRealm { | 13 | public class ShiroRealm extends AuthorizingRealm { |
| 18 | 14 | ||
| 19 | /* | 15 | /* |
src/com/fh/listener/WebAppContextListener.java
| @@ -6,14 +6,6 @@ import javax.servlet.ServletContextListener; | @@ -6,14 +6,6 @@ import javax.servlet.ServletContextListener; | ||
| 6 | import org.springframework.web.context.support.WebApplicationContextUtils; | 6 | import org.springframework.web.context.support.WebApplicationContextUtils; |
| 7 | 7 | ||
| 8 | import com.fh.util.Const; | 8 | import com.fh.util.Const; |
| 9 | -/** | ||
| 10 | - * | ||
| 11 | -* 类名称:WebAppContextListener.java | ||
| 12 | -* 类描述: | ||
| 13 | -* 作者:FH | ||
| 14 | -* 联系方式: | ||
| 15 | -* @version 1.0 | ||
| 16 | - */ | ||
| 17 | public class WebAppContextListener implements ServletContextListener { | 9 | public class WebAppContextListener implements ServletContextListener { |
| 18 | 10 | ||
| 19 | public void contextDestroyed(ServletContextEvent event) { | 11 | public void contextDestroyed(ServletContextEvent event) { |
src/com/fh/plugin/PagePlugin.java
| @@ -34,16 +34,7 @@ import org.apache.ibatis.type.TypeHandlerRegistry; | @@ -34,16 +34,7 @@ import org.apache.ibatis.type.TypeHandlerRegistry; | ||
| 34 | import com.fh.entity.Page; | 34 | import com.fh.entity.Page; |
| 35 | import com.fh.util.ReflectHelper; | 35 | import com.fh.util.ReflectHelper; |
| 36 | import com.fh.util.Tools; | 36 | import com.fh.util.Tools; |
| 37 | -/** | ||
| 38 | - * | ||
| 39 | -* 类名称:分页插件 | ||
| 40 | -* 类描述: | ||
| 41 | -* @author FH | ||
| 42 | -* 作者单位: | ||
| 43 | -* 联系方式: | ||
| 44 | -* 修改时间:2016年2月1日 | ||
| 45 | -* @version 1.0 | ||
| 46 | - */ | 37 | + |
| 47 | @Intercepts({@Signature(type=StatementHandler.class,method="prepare",args={Connection.class})}) | 38 | @Intercepts({@Signature(type=StatementHandler.class,method="prepare",args={Connection.class})}) |
| 48 | public class PagePlugin implements Interceptor { | 39 | public class PagePlugin implements Interceptor { |
| 49 | 40 |
src/com/fh/plugin/websocketInstantMsg/ChatServer.java
| @@ -14,12 +14,6 @@ import org.java_websocket.handshake.ClientHandshake; | @@ -14,12 +14,6 @@ import org.java_websocket.handshake.ClientHandshake; | ||
| 14 | import org.java_websocket.server.WebSocketServer; | 14 | import org.java_websocket.server.WebSocketServer; |
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | -/** | ||
| 18 | - * 即时通讯 | ||
| 19 | - * @author FH | ||
| 20 | - * QQ 313596790 | ||
| 21 | - * 2015-5-16 | ||
| 22 | - */ | ||
| 23 | public class ChatServer extends WebSocketServer{ | 17 | public class ChatServer extends WebSocketServer{ |
| 24 | 18 | ||
| 25 | public ChatServer(int port) throws UnknownHostException { | 19 | public ChatServer(int port) throws UnknownHostException { |
src/com/fh/plugin/websocketInstantMsg/ChatServerPool.java
| @@ -9,12 +9,6 @@ import java.util.Set; | @@ -9,12 +9,6 @@ import java.util.Set; | ||
| 9 | 9 | ||
| 10 | import org.java_websocket.WebSocket; | 10 | import org.java_websocket.WebSocket; |
| 11 | 11 | ||
| 12 | -/** | ||
| 13 | - * 即时通讯 | ||
| 14 | - * @author FH | ||
| 15 | - * QQ 313596790 | ||
| 16 | - * 2015-5-16 | ||
| 17 | - */ | ||
| 18 | public class ChatServerPool { | 12 | public class ChatServerPool { |
| 19 | 13 | ||
| 20 | private static final Map<WebSocket,String> userconnections = new HashMap<WebSocket,String>(); | 14 | private static final Map<WebSocket,String> userconnections = new HashMap<WebSocket,String>(); |
src/com/fh/plugin/websocketOnline/OnlineChatServer.java
| @@ -12,12 +12,6 @@ import org.java_websocket.framing.Framedata; | @@ -12,12 +12,6 @@ import org.java_websocket.framing.Framedata; | ||
| 12 | import org.java_websocket.handshake.ClientHandshake; | 12 | import org.java_websocket.handshake.ClientHandshake; |
| 13 | import org.java_websocket.server.WebSocketServer; | 13 | import org.java_websocket.server.WebSocketServer; |
| 14 | 14 | ||
| 15 | -/** | ||
| 16 | - * 在线管理 | ||
| 17 | - * @author FH | ||
| 18 | - * QQ 313596790 | ||
| 19 | - * 2015-5-25 | ||
| 20 | - */ | ||
| 21 | public class OnlineChatServer extends WebSocketServer{ | 15 | public class OnlineChatServer extends WebSocketServer{ |
| 22 | 16 | ||
| 23 | public OnlineChatServer(int port) throws UnknownHostException { | 17 | public OnlineChatServer(int port) throws UnknownHostException { |
src/com/fh/plugin/websocketOnline/OnlineChatServerPool.java
| @@ -9,12 +9,6 @@ import java.util.Set; | @@ -9,12 +9,6 @@ import java.util.Set; | ||
| 9 | 9 | ||
| 10 | import org.java_websocket.WebSocket; | 10 | import org.java_websocket.WebSocket; |
| 11 | 11 | ||
| 12 | -/** | ||
| 13 | - * 在线管理 | ||
| 14 | - * @author FH | ||
| 15 | - * QQ 313596790 | ||
| 16 | - * 2015-5-25 | ||
| 17 | - */ | ||
| 18 | public class OnlineChatServerPool { | 12 | public class OnlineChatServerPool { |
| 19 | 13 | ||
| 20 | private static final Map<WebSocket,String> userconnections = new HashMap<WebSocket,String>(); | 14 | private static final Map<WebSocket,String> userconnections = new HashMap<WebSocket,String>(); |
src/com/fh/plugin/websocketVideo/VideoServer.java
| @@ -11,12 +11,6 @@ import org.java_websocket.handshake.ClientHandshake; | @@ -11,12 +11,6 @@ import org.java_websocket.handshake.ClientHandshake; | ||
| 11 | import org.java_websocket.server.WebSocketServer; | 11 | import org.java_websocket.server.WebSocketServer; |
| 12 | 12 | ||
| 13 | 13 | ||
| 14 | -/** | ||
| 15 | - * 视频弹幕服务端 | ||
| 16 | - * @author FH | ||
| 17 | - * QQ 313596790 | ||
| 18 | - * 2017-11-24 | ||
| 19 | - */ | ||
| 20 | public class VideoServer extends WebSocketServer{ | 14 | public class VideoServer extends WebSocketServer{ |
| 21 | 15 | ||
| 22 | public VideoServer(int port) throws UnknownHostException { | 16 | public VideoServer(int port) throws UnknownHostException { |
src/com/fh/plugin/websocketVideo/VideoServerPool.java
| @@ -6,12 +6,6 @@ import java.util.Set; | @@ -6,12 +6,6 @@ import java.util.Set; | ||
| 6 | 6 | ||
| 7 | import org.java_websocket.WebSocket; | 7 | import org.java_websocket.WebSocket; |
| 8 | 8 | ||
| 9 | -/** | ||
| 10 | - * 视频弹幕服务端 | ||
| 11 | - * @author FH | ||
| 12 | - * QQ 313596790 | ||
| 13 | - * 2017-11-24 | ||
| 14 | - */ | ||
| 15 | public class VideoServerPool { | 9 | public class VideoServerPool { |
| 16 | 10 | ||
| 17 | private static final Map<WebSocket,String> userconnections = new HashMap<WebSocket,String>(); | 11 | private static final Map<WebSocket,String> userconnections = new HashMap<WebSocket,String>(); |
src/com/fh/resolver/MyExceptionResolver.java
| @@ -5,15 +5,6 @@ import javax.servlet.http.HttpServletResponse; | @@ -5,15 +5,6 @@ import javax.servlet.http.HttpServletResponse; | ||
| 5 | 5 | ||
| 6 | import org.springframework.web.servlet.HandlerExceptionResolver; | 6 | import org.springframework.web.servlet.HandlerExceptionResolver; |
| 7 | import org.springframework.web.servlet.ModelAndView; | 7 | import org.springframework.web.servlet.ModelAndView; |
| 8 | -/** | ||
| 9 | - * | ||
| 10 | -* 类名称:MyExceptionResolver.java | ||
| 11 | -* 类描述: | ||
| 12 | -* @author FH | ||
| 13 | -* 作者单位: | ||
| 14 | -* 联系方式:QQ313596790 | ||
| 15 | -* @version 1.0 | ||
| 16 | - */ | ||
| 17 | public class MyExceptionResolver implements HandlerExceptionResolver{ | 8 | public class MyExceptionResolver implements HandlerExceptionResolver{ |
| 18 | 9 | ||
| 19 | public ModelAndView resolveException(HttpServletRequest request, | 10 | public ModelAndView resolveException(HttpServletRequest request, |
src/com/fh/service/dst/datasource2/DataSource2Manager.java
| @@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
| 4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 说明: 第2数据源例子接口 | ||
| 9 | - * 创建人:FH Q313596790 | ||
| 10 | - * 创建时间:2016-04-29 | ||
| 11 | - * @version | ||
| 12 | - */ | ||
| 13 | public interface DataSource2Manager{ | 7 | public interface DataSource2Manager{ |
| 14 | 8 | ||
| 15 | /**新增 | 9 | /**新增 |
src/com/fh/service/dst/datasource2/impl/DataSource2Service.java
| @@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
| 8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
| 9 | import com.fh.service.dst.datasource2.DataSource2Manager; | 9 | import com.fh.service.dst.datasource2.DataSource2Manager; |
| 10 | 10 | ||
| 11 | -/** | ||
| 12 | - * 说明: 第2数据源例子 | ||
| 13 | - * 创建人:FH Q313596790 | ||
| 14 | - * 创建时间:2016-04-29 | ||
| 15 | - * @version | ||
| 16 | - */ | ||
| 17 | @Service("datasource2Service") | 11 | @Service("datasource2Service") |
| 18 | public class DataSource2Service implements DataSource2Manager{ | 12 | public class DataSource2Service implements DataSource2Manager{ |
| 19 | 13 |
src/com/fh/service/fhdb/brdb/BRdbManager.java
| @@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
| 4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 说明: 数据库管理接口 | ||
| 9 | - * 创建人:FH Q313596790 | ||
| 10 | - * 创建时间:2016-03-30 | ||
| 11 | - * @version | ||
| 12 | - */ | ||
| 13 | public interface BRdbManager{ | 7 | public interface BRdbManager{ |
| 14 | 8 | ||
| 15 | /**新增 | 9 | /**新增 |
src/com/fh/service/fhdb/brdb/impl/BRdbService.java
| @@ -11,12 +11,6 @@ import com.fh.entity.Page; | @@ -11,12 +11,6 @@ import com.fh.entity.Page; | ||
| 11 | import com.fh.util.PageData; | 11 | import com.fh.util.PageData; |
| 12 | import com.fh.service.fhdb.brdb.BRdbManager; | 12 | import com.fh.service.fhdb.brdb.BRdbManager; |
| 13 | 13 | ||
| 14 | -/** | ||
| 15 | - * 说明: 数据库管理 | ||
| 16 | - * 创建人:FH Q313596790 | ||
| 17 | - * 创建时间:2016-03-30 | ||
| 18 | - * @version | ||
| 19 | - */ | ||
| 20 | @Service("brdbService") | 14 | @Service("brdbService") |
| 21 | public class BRdbService implements BRdbManager{ | 15 | public class BRdbService implements BRdbManager{ |
| 22 | 16 |
src/com/fh/service/fhdb/timingbackup/TimingBackUpManager.java
| @@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
| 4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 说明: 定时备份接口 | ||
| 9 | - * 创建人:FH Q313596790 | ||
| 10 | - * 创建时间:2016-04-09 | ||
| 11 | - * @version | ||
| 12 | - */ | ||
| 13 | public interface TimingBackUpManager{ | 7 | public interface TimingBackUpManager{ |
| 14 | 8 | ||
| 15 | /**新增 | 9 | /**新增 |
src/com/fh/service/fhdb/timingbackup/impl/TimingBackUpService.java
| @@ -11,12 +11,6 @@ import com.fh.entity.Page; | @@ -11,12 +11,6 @@ import com.fh.entity.Page; | ||
| 11 | import com.fh.util.PageData; | 11 | import com.fh.util.PageData; |
| 12 | import com.fh.service.fhdb.timingbackup.TimingBackUpManager; | 12 | import com.fh.service.fhdb.timingbackup.TimingBackUpManager; |
| 13 | 13 | ||
| 14 | -/** | ||
| 15 | - * 说明: 定时备份 | ||
| 16 | - * 创建人:FH Q313596790 | ||
| 17 | - * 创建时间:2016-04-09 | ||
| 18 | - * @version | ||
| 19 | - */ | ||
| 20 | @Service("timingbackupService") | 14 | @Service("timingbackupService") |
| 21 | public class TimingBackUpService implements TimingBackUpManager{ | 15 | public class TimingBackUpService implements TimingBackUpManager{ |
| 22 | 16 |
src/com/fh/service/fhoa/datajur/DatajurManager.java
| @@ -2,12 +2,6 @@ package com.fh.service.fhoa.datajur; | @@ -2,12 +2,6 @@ package com.fh.service.fhoa.datajur; | ||
| 2 | 2 | ||
| 3 | import com.fh.util.PageData; | 3 | import com.fh.util.PageData; |
| 4 | 4 | ||
| 5 | -/** | ||
| 6 | - * 说明: 组织数据权限接口 | ||
| 7 | - * 创建人:FH Q313596790 | ||
| 8 | - * 创建时间:2016-04-26 | ||
| 9 | - * @version | ||
| 10 | - */ | ||
| 11 | public interface DatajurManager{ | 5 | public interface DatajurManager{ |
| 12 | 6 | ||
| 13 | /**新增 | 7 | /**新增 |
src/com/fh/service/fhoa/datajur/impl/DatajurService.java
| @@ -8,12 +8,6 @@ import com.fh.dao.DaoSupport; | @@ -8,12 +8,6 @@ import com.fh.dao.DaoSupport; | ||
| 8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
| 9 | import com.fh.service.fhoa.datajur.DatajurManager; | 9 | import com.fh.service.fhoa.datajur.DatajurManager; |
| 10 | 10 | ||
| 11 | -/** | ||
| 12 | - * 说明: 组织数据权限表 | ||
| 13 | - * 创建人:FH Q313596790 | ||
| 14 | - * 创建时间:2016-04-26 | ||
| 15 | - * @version | ||
| 16 | - */ | ||
| 17 | @Service("datajurService") | 11 | @Service("datajurService") |
| 18 | public class DatajurService implements DatajurManager{ | 12 | public class DatajurService implements DatajurManager{ |
| 19 | 13 |
src/com/fh/service/fhoa/department/DepartmentManager.java
| @@ -6,12 +6,6 @@ import com.fh.entity.Page; | @@ -6,12 +6,6 @@ import com.fh.entity.Page; | ||
| 6 | import com.fh.entity.system.Department; | 6 | import com.fh.entity.system.Department; |
| 7 | import com.fh.util.PageData; | 7 | import com.fh.util.PageData; |
| 8 | 8 | ||
| 9 | -/** | ||
| 10 | - * 说明: 组织机构接口类 | ||
| 11 | - * 创建人:FH Q313596790 | ||
| 12 | - * 创建时间:2015-12-16 | ||
| 13 | - * @version | ||
| 14 | - */ | ||
| 15 | public interface DepartmentManager{ | 9 | public interface DepartmentManager{ |
| 16 | 10 | ||
| 17 | /**新增 | 11 | /**新增 |
src/com/fh/service/fhoa/department/impl/DepartmentService.java
| @@ -14,12 +14,6 @@ import com.fh.util.PageData; | @@ -14,12 +14,6 @@ import com.fh.util.PageData; | ||
| 14 | import com.fh.util.Tools; | 14 | import com.fh.util.Tools; |
| 15 | import com.fh.service.fhoa.department.DepartmentManager; | 15 | import com.fh.service.fhoa.department.DepartmentManager; |
| 16 | 16 | ||
| 17 | -/** | ||
| 18 | - * 说明: 组织机构 | ||
| 19 | - * 创建人:FH Q313596790 | ||
| 20 | - * 创建时间:2015-12-16 | ||
| 21 | - * @version | ||
| 22 | - */ | ||
| 23 | @Service("departmentService") | 17 | @Service("departmentService") |
| 24 | public class DepartmentService implements DepartmentManager{ | 18 | public class DepartmentService implements DepartmentManager{ |
| 25 | 19 |
src/com/fh/service/fhoa/fhfile/FhfileManager.java
| @@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
| 4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 说明: 文件管理接口 | ||
| 9 | - * 创建人:FH Q313596790 | ||
| 10 | - * 创建时间:2016-05-27 | ||
| 11 | - * @version | ||
| 12 | - */ | ||
| 13 | public interface FhfileManager{ | 7 | public interface FhfileManager{ |
| 14 | 8 | ||
| 15 | /**新增 | 9 | /**新增 |
src/com/fh/service/fhoa/fhfile/impl/FhfileService.java
| @@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
| 8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
| 9 | import com.fh.service.fhoa.fhfile.FhfileManager; | 9 | import com.fh.service.fhoa.fhfile.FhfileManager; |
| 10 | 10 | ||
| 11 | -/** | ||
| 12 | - * 说明: 文件管理 | ||
| 13 | - * 创建人:FH Q313596790 | ||
| 14 | - * 创建时间:2016-05-27 | ||
| 15 | - * @version | ||
| 16 | - */ | ||
| 17 | @Service("fhfileService") | 11 | @Service("fhfileService") |
| 18 | public class FhfileService implements FhfileManager{ | 12 | public class FhfileService implements FhfileManager{ |
| 19 | 13 |
src/com/fh/service/fhoa/staff/StaffManager.java
| @@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
| 4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 说明: 员工管理接口 | ||
| 9 | - * 创建人:FH Q313596790 | ||
| 10 | - * 创建时间:2016-04-23 | ||
| 11 | - * @version | ||
| 12 | - */ | ||
| 13 | public interface StaffManager{ | 7 | public interface StaffManager{ |
| 14 | 8 | ||
| 15 | /**新增 | 9 | /**新增 |
src/com/fh/service/fhoa/staff/impl/StaffService.java
| @@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
| 8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
| 9 | import com.fh.service.fhoa.staff.StaffManager; | 9 | import com.fh.service.fhoa.staff.StaffManager; |
| 10 | 10 | ||
| 11 | -/** | ||
| 12 | - * 说明: 员工管理 | ||
| 13 | - * 创建人:FH Q313596790 | ||
| 14 | - * 创建时间:2016-04-23 | ||
| 15 | - * @version | ||
| 16 | - */ | ||
| 17 | @Service("staffService") | 11 | @Service("staffService") |
| 18 | public class StaffService implements StaffManager{ | 12 | public class StaffService implements StaffManager{ |
| 19 | 13 |
src/com/fh/service/information/attached/AttachedManager.java
| @@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
| 4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 说明: 主附结构接口 | ||
| 9 | - * 创建人:FH Q313596790 | ||
| 10 | - * 创建时间:2016-04-17 | ||
| 11 | - * @version | ||
| 12 | - */ | ||
| 13 | public interface AttachedManager{ | 7 | public interface AttachedManager{ |
| 14 | 8 | ||
| 15 | /**新增 | 9 | /**新增 |
src/com/fh/service/information/attached/impl/AttachedService.java
| @@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
| 8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
| 9 | import com.fh.service.information.attached.AttachedManager; | 9 | import com.fh.service.information.attached.AttachedManager; |
| 10 | 10 | ||
| 11 | -/** | ||
| 12 | - * 说明: 主附结构 | ||
| 13 | - * 创建人:FH Q313596790 | ||
| 14 | - * 创建时间:2016-04-17 | ||
| 15 | - * @version | ||
| 16 | - */ | ||
| 17 | @Service("attachedService") | 11 | @Service("attachedService") |
| 18 | public class AttachedService implements AttachedManager{ | 12 | public class AttachedService implements AttachedManager{ |
| 19 | 13 |
src/com/fh/service/information/attachedmx/AttachedMxManager.java
| @@ -4,13 +4,6 @@ import java.util.List; | @@ -4,13 +4,6 @@ import java.util.List; | ||
| 4 | 4 | ||
| 5 | import com.fh.entity.Page; | 5 | import com.fh.entity.Page; |
| 6 | import com.fh.util.PageData; | 6 | import com.fh.util.PageData; |
| 7 | - | ||
| 8 | -/** | ||
| 9 | - * 说明: 明细表接口 | ||
| 10 | - * 创建人:FH Q313596790 | ||
| 11 | - * 创建时间:2016-04-17 | ||
| 12 | - * @version | ||
| 13 | - */ | ||
| 14 | public interface AttachedMxManager{ | 7 | public interface AttachedMxManager{ |
| 15 | 8 | ||
| 16 | /**新增 | 9 | /**新增 |
src/com/fh/service/information/attachedmx/impl/AttachedMxService.java
| @@ -11,12 +11,6 @@ import com.fh.entity.Page; | @@ -11,12 +11,6 @@ import com.fh.entity.Page; | ||
| 11 | import com.fh.util.PageData; | 11 | import com.fh.util.PageData; |
| 12 | import com.fh.service.information.attachedmx.AttachedMxManager; | 12 | import com.fh.service.information.attachedmx.AttachedMxManager; |
| 13 | 13 | ||
| 14 | -/** | ||
| 15 | - * 说明: 明细表 | ||
| 16 | - * 创建人:FH Q313596790 | ||
| 17 | - * 创建时间:2016-04-17 | ||
| 18 | - * @version | ||
| 19 | - */ | ||
| 20 | @Service("attachedmxService") | 14 | @Service("attachedmxService") |
| 21 | public class AttachedMxService implements AttachedMxManager{ | 15 | public class AttachedMxService implements AttachedMxManager{ |
| 22 | 16 |
src/com/fh/service/information/pictures/PicturesManager.java
| @@ -5,10 +5,6 @@ import com.fh.entity.Page; | @@ -5,10 +5,6 @@ import com.fh.entity.Page; | ||
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | 6 | ||
| 7 | 7 | ||
| 8 | -/** 图片管理接口 | ||
| 9 | - * @author fh313596790qq(青苔) | ||
| 10 | - * 修改时间:2015.11.2 | ||
| 11 | - */ | ||
| 12 | public interface PicturesManager { | 8 | public interface PicturesManager { |
| 13 | 9 | ||
| 14 | /**列表 | 10 | /**列表 |
src/com/fh/service/information/pictures/impl/PicturesService.java
| @@ -11,11 +11,6 @@ import com.fh.entity.Page; | @@ -11,11 +11,6 @@ import com.fh.entity.Page; | ||
| 11 | import com.fh.service.information.pictures.PicturesManager; | 11 | import com.fh.service.information.pictures.PicturesManager; |
| 12 | import com.fh.util.PageData; | 12 | import com.fh.util.PageData; |
| 13 | 13 | ||
| 14 | - | ||
| 15 | -/** 图片管理 | ||
| 16 | - * @author fh313596790qq(青苔) | ||
| 17 | - * 修改时间:2015.11.2 | ||
| 18 | - */ | ||
| 19 | @Service("picturesService") | 14 | @Service("picturesService") |
| 20 | public class PicturesService implements PicturesManager { | 15 | public class PicturesService implements PicturesManager { |
| 21 | 16 |
src/com/fh/service/system/appuser/AppuserManager.java
| @@ -6,10 +6,6 @@ import com.fh.entity.Page; | @@ -6,10 +6,6 @@ import com.fh.entity.Page; | ||
| 6 | import com.fh.util.PageData; | 6 | import com.fh.util.PageData; |
| 7 | 7 | ||
| 8 | 8 | ||
| 9 | -/** 会员接口类 | ||
| 10 | - * @author fh313596790qq(青苔) | ||
| 11 | - * 修改时间:2015.11.2 | ||
| 12 | - */ | ||
| 13 | public interface AppuserManager { | 9 | public interface AppuserManager { |
| 14 | 10 | ||
| 15 | /**列出某角色下的所有会员 | 11 | /**列出某角色下的所有会员 |
src/com/fh/service/system/appuser/impl/AppuserService.java
| @@ -12,10 +12,6 @@ import com.fh.service.system.appuser.AppuserManager; | @@ -12,10 +12,6 @@ import com.fh.service.system.appuser.AppuserManager; | ||
| 12 | import com.fh.util.PageData; | 12 | import com.fh.util.PageData; |
| 13 | 13 | ||
| 14 | 14 | ||
| 15 | -/**类名称:AppuserService | ||
| 16 | - * @author FH Q313596790 | ||
| 17 | - * 修改时间:2015年11月6日 | ||
| 18 | - */ | ||
| 19 | @Service("appuserService") | 15 | @Service("appuserService") |
| 20 | public class AppuserService implements AppuserManager{ | 16 | public class AppuserService implements AppuserManager{ |
| 21 | 17 |
src/com/fh/service/system/buttonrights/ButtonrightsManager.java
| @@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
| 4 | 4 | ||
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 说明:按钮权限 接口 | ||
| 9 | - * 创建人:FH Q313596790 | ||
| 10 | - * 创建时间:2016-01-16 | ||
| 11 | - * @version | ||
| 12 | - */ | ||
| 13 | public interface ButtonrightsManager{ | 7 | public interface ButtonrightsManager{ |
| 14 | 8 | ||
| 15 | /**新增 | 9 | /**新增 |
src/com/fh/service/system/buttonrights/impl/ButtonrightsService.java
| @@ -10,12 +10,6 @@ import com.fh.dao.DaoSupport; | @@ -10,12 +10,6 @@ import com.fh.dao.DaoSupport; | ||
| 10 | import com.fh.util.PageData; | 10 | import com.fh.util.PageData; |
| 11 | import com.fh.service.system.buttonrights.ButtonrightsManager; | 11 | import com.fh.service.system.buttonrights.ButtonrightsManager; |
| 12 | 12 | ||
| 13 | -/** | ||
| 14 | - * 说明: 按钮权限 | ||
| 15 | - * 创建人:FH Q313596790 | ||
| 16 | - * 创建时间:2016-01-16 | ||
| 17 | - * @version | ||
| 18 | - */ | ||
| 19 | @Service("buttonrightsService") | 13 | @Service("buttonrightsService") |
| 20 | public class ButtonrightsService implements ButtonrightsManager{ | 14 | public class ButtonrightsService implements ButtonrightsManager{ |
| 21 | 15 |
src/com/fh/service/system/codeeditor/CodeEditorManager.java
| @@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
| 4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 说明: 代码编辑器接口 | ||
| 9 | - * 创建人:FH Q313596790 | ||
| 10 | - * 创建时间:2017-06-11 | ||
| 11 | - * @version | ||
| 12 | - */ | ||
| 13 | public interface CodeEditorManager{ | 7 | public interface CodeEditorManager{ |
| 14 | 8 | ||
| 15 | /**新增 | 9 | /**新增 |
src/com/fh/service/system/codeeditor/impl/CodeEditorService.java
| @@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
| 8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
| 9 | import com.fh.service.system.codeeditor.CodeEditorManager; | 9 | import com.fh.service.system.codeeditor.CodeEditorManager; |
| 10 | 10 | ||
| 11 | -/** | ||
| 12 | - * 说明: 代码编辑器 | ||
| 13 | - * 创建人:FH Q313596790 | ||
| 14 | - * 创建时间:2017-06-11 | ||
| 15 | - * @version | ||
| 16 | - */ | ||
| 17 | @Service("codeeditorService") | 11 | @Service("codeeditorService") |
| 18 | public class CodeEditorService implements CodeEditorManager{ | 12 | public class CodeEditorService implements CodeEditorManager{ |
| 19 | 13 |
src/com/fh/service/system/createcode/CreateCodeManager.java
| @@ -5,12 +5,6 @@ import java.util.List; | @@ -5,12 +5,6 @@ import java.util.List; | ||
| 5 | import com.fh.entity.Page; | 5 | import com.fh.entity.Page; |
| 6 | import com.fh.util.PageData; | 6 | import com.fh.util.PageData; |
| 7 | 7 | ||
| 8 | -/** | ||
| 9 | - * 类名称:代码生成器接口类 | ||
| 10 | - * 创建人:FH Q313596790 | ||
| 11 | - * 修改时间:2015年11月24日 | ||
| 12 | - * @version | ||
| 13 | - */ | ||
| 14 | public interface CreateCodeManager { | 8 | public interface CreateCodeManager { |
| 15 | 9 | ||
| 16 | /**新增 | 10 | /**新增 |
src/com/fh/service/system/createcode/impl/CreateCodeService.java
| @@ -11,12 +11,6 @@ import com.fh.service.system.createcode.CreateCodeManager; | @@ -11,12 +11,6 @@ import com.fh.service.system.createcode.CreateCodeManager; | ||
| 11 | import com.fh.util.PageData; | 11 | import com.fh.util.PageData; |
| 12 | 12 | ||
| 13 | 13 | ||
| 14 | -/** | ||
| 15 | - * 类名称:CreateCodeService 代码生成器 | ||
| 16 | - * 创建人:FH Q313596790 | ||
| 17 | - * 修改时间:2015年11月24日 | ||
| 18 | - * @version | ||
| 19 | - */ | ||
| 20 | @Service("createcodeService") | 14 | @Service("createcodeService") |
| 21 | public class CreateCodeService implements CreateCodeManager{ | 15 | public class CreateCodeService implements CreateCodeManager{ |
| 22 | 16 |
src/com/fh/service/system/dictionaries/DictionariesManager.java
| @@ -6,12 +6,6 @@ import com.fh.entity.Page; | @@ -6,12 +6,6 @@ import com.fh.entity.Page; | ||
| 6 | import com.fh.entity.system.Dictionaries; | 6 | import com.fh.entity.system.Dictionaries; |
| 7 | import com.fh.util.PageData; | 7 | import com.fh.util.PageData; |
| 8 | 8 | ||
| 9 | -/** | ||
| 10 | - * 说明: 数据字典接口类 | ||
| 11 | - * 创建人:FH Q313596790 | ||
| 12 | - * 创建时间:2015-12-16 | ||
| 13 | - * @version | ||
| 14 | - */ | ||
| 15 | public interface DictionariesManager{ | 9 | public interface DictionariesManager{ |
| 16 | 10 | ||
| 17 | /**新增 | 11 | /**新增 |
src/com/fh/service/system/dictionaries/impl/DictionariesService.java
| @@ -12,12 +12,6 @@ import com.fh.entity.system.Dictionaries; | @@ -12,12 +12,6 @@ import com.fh.entity.system.Dictionaries; | ||
| 12 | import com.fh.util.PageData; | 12 | import com.fh.util.PageData; |
| 13 | import com.fh.service.system.dictionaries.DictionariesManager; | 13 | import com.fh.service.system.dictionaries.DictionariesManager; |
| 14 | 14 | ||
| 15 | -/** | ||
| 16 | - * 说明: 数据字典 | ||
| 17 | - * 创建人:FH Q313596790 | ||
| 18 | - * 创建时间:2015-12-16 | ||
| 19 | - * @version | ||
| 20 | - */ | ||
| 21 | @Service("dictionariesService") | 15 | @Service("dictionariesService") |
| 22 | public class DictionariesService implements DictionariesManager{ | 16 | public class DictionariesService implements DictionariesManager{ |
| 23 | 17 |
src/com/fh/service/system/fhbutton/FhbuttonManager.java
| @@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
| 4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 说明:按钮管理 接口 | ||
| 9 | - * 创建人:FH Q313596790 | ||
| 10 | - * 创建时间:2016-01-15 | ||
| 11 | - * @version | ||
| 12 | - */ | ||
| 13 | public interface FhbuttonManager{ | 7 | public interface FhbuttonManager{ |
| 14 | 8 | ||
| 15 | /**新增 | 9 | /**新增 |
src/com/fh/service/system/fhbutton/impl/FhbuttonService.java
| @@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
| 8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
| 9 | import com.fh.service.system.fhbutton.FhbuttonManager; | 9 | import com.fh.service.system.fhbutton.FhbuttonManager; |
| 10 | 10 | ||
| 11 | -/** | ||
| 12 | - * 说明: 按钮管理 | ||
| 13 | - * 创建人:FH Q313596790 | ||
| 14 | - * 创建时间:2016-01-15 | ||
| 15 | - * @version | ||
| 16 | - */ | ||
| 17 | @Service("fhbuttonService") | 11 | @Service("fhbuttonService") |
| 18 | public class FhbuttonService implements FhbuttonManager{ | 12 | public class FhbuttonService implements FhbuttonManager{ |
| 19 | 13 |
src/com/fh/service/system/fhlog/FHlogManager.java
| @@ -5,12 +5,6 @@ import java.util.List; | @@ -5,12 +5,6 @@ import java.util.List; | ||
| 5 | import com.fh.entity.Page; | 5 | import com.fh.entity.Page; |
| 6 | import com.fh.util.PageData; | 6 | import com.fh.util.PageData; |
| 7 | 7 | ||
| 8 | -/** | ||
| 9 | - * 说明: 操作日志记录接口 | ||
| 10 | - * 创建人:FH Q313596790 | ||
| 11 | - * 创建时间:2016-05-10 | ||
| 12 | - * @version | ||
| 13 | - */ | ||
| 14 | public interface FHlogManager{ | 8 | public interface FHlogManager{ |
| 15 | 9 | ||
| 16 | /**新增 | 10 | /**新增 |
src/com/fh/service/system/fhlog/impl/FHlogService.java
| @@ -14,12 +14,6 @@ import com.fh.util.Tools; | @@ -14,12 +14,6 @@ import com.fh.util.Tools; | ||
| 14 | import com.fh.util.UuidUtil; | 14 | import com.fh.util.UuidUtil; |
| 15 | import com.fh.service.system.fhlog.FHlogManager; | 15 | import com.fh.service.system.fhlog.FHlogManager; |
| 16 | 16 | ||
| 17 | -/** | ||
| 18 | - * 说明: 操作日志记录 | ||
| 19 | - * 创建人:FH Q313596790 | ||
| 20 | - * 创建时间:2016-05-10 | ||
| 21 | - * @version | ||
| 22 | - */ | ||
| 23 | @Service("fhlogService") | 17 | @Service("fhlogService") |
| 24 | public class FHlogService implements FHlogManager{ | 18 | public class FHlogService implements FHlogManager{ |
| 25 | 19 |
src/com/fh/service/system/fhsms/FhsmsManager.java
| @@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
| 4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 说明: 站内信接口 | ||
| 9 | - * 创建人:FH Q313596790 | ||
| 10 | - * 创建时间:2016-01-17 | ||
| 11 | - * @version | ||
| 12 | - */ | ||
| 13 | public interface FhsmsManager{ | 7 | public interface FhsmsManager{ |
| 14 | 8 | ||
| 15 | /**新增 | 9 | /**新增 |
src/com/fh/service/system/fhsms/impl/FhsmsService.java
| @@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
| 8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
| 9 | import com.fh.service.system.fhsms.FhsmsManager; | 9 | import com.fh.service.system.fhsms.FhsmsManager; |
| 10 | 10 | ||
| 11 | -/** | ||
| 12 | - * 说明: 站内信 | ||
| 13 | - * 创建人:FH Q313596790 | ||
| 14 | - * 创建时间:2016-01-17 | ||
| 15 | - * @version | ||
| 16 | - */ | ||
| 17 | @Service("fhsmsService") | 11 | @Service("fhsmsService") |
| 18 | public class FhsmsService implements FhsmsManager{ | 12 | public class FhsmsService implements FhsmsManager{ |
| 19 | 13 |
src/com/fh/service/system/loginimg/LogInImgManager.java
| @@ -3,13 +3,6 @@ package com.fh.service.system.loginimg; | @@ -3,13 +3,6 @@ package com.fh.service.system.loginimg; | ||
| 3 | import java.util.List; | 3 | import java.util.List; |
| 4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | - | ||
| 7 | -/** | ||
| 8 | - * 说明: 登录页面背景图片接口 | ||
| 9 | - * 创建人:FH Q313596790 | ||
| 10 | - * 创建时间:2016-06-03 | ||
| 11 | - * @version | ||
| 12 | - */ | ||
| 13 | public interface LogInImgManager{ | 6 | public interface LogInImgManager{ |
| 14 | 7 | ||
| 15 | /**新增 | 8 | /**新增 |
src/com/fh/service/system/loginimg/impl/LogInImgService.java
| @@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
| 8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
| 9 | import com.fh.service.system.loginimg.LogInImgManager; | 9 | import com.fh.service.system.loginimg.LogInImgManager; |
| 10 | 10 | ||
| 11 | -/** | ||
| 12 | - * 说明: 登录页面背景图片 | ||
| 13 | - * 创建人:FH Q313596790 | ||
| 14 | - * 创建时间:2016-06-03 | ||
| 15 | - * @version | ||
| 16 | - */ | ||
| 17 | @Service("loginimgService") | 11 | @Service("loginimgService") |
| 18 | public class LogInImgService implements LogInImgManager{ | 12 | public class LogInImgService implements LogInImgManager{ |
| 19 | 13 |
src/com/fh/service/system/menu/MenuManager.java
| @@ -5,10 +5,6 @@ import java.util.List; | @@ -5,10 +5,6 @@ import java.util.List; | ||
| 5 | import com.fh.entity.system.Menu; | 5 | import com.fh.entity.system.Menu; |
| 6 | import com.fh.util.PageData; | 6 | import com.fh.util.PageData; |
| 7 | 7 | ||
| 8 | - | ||
| 9 | -/**说明:MenuService 菜单处理接口 | ||
| 10 | - * @author fh 313596790 | ||
| 11 | - */ | ||
| 12 | public interface MenuManager { | 8 | public interface MenuManager { |
| 13 | 9 | ||
| 14 | /** | 10 | /** |
src/com/fh/service/system/menu/impl/MenuService.java
| @@ -11,12 +11,6 @@ import com.fh.entity.system.Menu; | @@ -11,12 +11,6 @@ import com.fh.entity.system.Menu; | ||
| 11 | import com.fh.service.system.menu.MenuManager; | 11 | import com.fh.service.system.menu.MenuManager; |
| 12 | import com.fh.util.PageData; | 12 | import com.fh.util.PageData; |
| 13 | 13 | ||
| 14 | -/** | ||
| 15 | - * 类名称:MenuService 菜单处理 | ||
| 16 | - * 创建人:FH qq 3 1 3 5 9 6 7 9 0[青苔] | ||
| 17 | - * 修改时间:2015年10月27日 | ||
| 18 | - * @version v2 | ||
| 19 | - */ | ||
| 20 | @Service("menuService") | 14 | @Service("menuService") |
| 21 | public class MenuService implements MenuManager{ | 15 | public class MenuService implements MenuManager{ |
| 22 | 16 |
src/com/fh/service/system/role/RoleManager.java
| @@ -5,10 +5,6 @@ import java.util.List; | @@ -5,10 +5,6 @@ import java.util.List; | ||
| 5 | import com.fh.entity.system.Role; | 5 | import com.fh.entity.system.Role; |
| 6 | import com.fh.util.PageData; | 6 | import com.fh.util.PageData; |
| 7 | 7 | ||
| 8 | -/** 角色接口类 | ||
| 9 | - * @author FHadmin QQ313596790 | ||
| 10 | - * 修改日期:2015.11.6 | ||
| 11 | - */ | ||
| 12 | public interface RoleManager { | 8 | public interface RoleManager { |
| 13 | 9 | ||
| 14 | /**列出此组下级角色 | 10 | /**列出此组下级角色 |
src/com/fh/service/system/role/impl/RoleService.java
| @@ -11,10 +11,6 @@ import com.fh.entity.system.Role; | @@ -11,10 +11,6 @@ import com.fh.entity.system.Role; | ||
| 11 | import com.fh.service.system.role.RoleManager; | 11 | import com.fh.service.system.role.RoleManager; |
| 12 | import com.fh.util.PageData; | 12 | import com.fh.util.PageData; |
| 13 | 13 | ||
| 14 | -/** 角色 | ||
| 15 | - * @author FHadmin QQ313596790 | ||
| 16 | - * 修改日期:2015.11.6 | ||
| 17 | - */ | ||
| 18 | @Service("roleService") | 14 | @Service("roleService") |
| 19 | public class RoleService implements RoleManager{ | 15 | public class RoleService implements RoleManager{ |
| 20 | 16 |
src/com/fh/service/system/user/UserManager.java
| @@ -7,10 +7,6 @@ import com.fh.entity.system.User; | @@ -7,10 +7,6 @@ import com.fh.entity.system.User; | ||
| 7 | import com.fh.util.PageData; | 7 | import com.fh.util.PageData; |
| 8 | 8 | ||
| 9 | 9 | ||
| 10 | -/** 用户接口类 | ||
| 11 | - * @author fh313596790qq(青苔) | ||
| 12 | - * 修改时间:2015.11.2 | ||
| 13 | - */ | ||
| 14 | public interface UserManager { | 10 | public interface UserManager { |
| 15 | 11 | ||
| 16 | /**登录判断 | 12 | /**登录判断 |
src/com/fh/service/system/user/impl/UserService.java
| @@ -13,10 +13,6 @@ import com.fh.service.system.user.UserManager; | @@ -13,10 +13,6 @@ import com.fh.service.system.user.UserManager; | ||
| 13 | import com.fh.util.PageData; | 13 | import com.fh.util.PageData; |
| 14 | 14 | ||
| 15 | 15 | ||
| 16 | -/** 系统用户 | ||
| 17 | - * @author fh313596790qq(青苔) | ||
| 18 | - * 修改时间:2015.11.2 | ||
| 19 | - */ | ||
| 20 | @Service("userService") | 16 | @Service("userService") |
| 21 | public class UserService implements UserManager{ | 17 | public class UserService implements UserManager{ |
| 22 | 18 |
src/com/fh/service/system/userphoto/UserPhotoManager.java
| @@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
| 4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 说明: 用户头像接口 | ||
| 9 | - * 创建人:FH Q313596790 | ||
| 10 | - * 创建时间:2016-06-05 | ||
| 11 | - * @version | ||
| 12 | - */ | ||
| 13 | public interface UserPhotoManager{ | 7 | public interface UserPhotoManager{ |
| 14 | 8 | ||
| 15 | /**新增 | 9 | /**新增 |
src/com/fh/service/system/userphoto/impl/UserPhotoService.java
| @@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
| 8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
| 9 | import com.fh.service.system.userphoto.UserPhotoManager; | 9 | import com.fh.service.system.userphoto.UserPhotoManager; |
| 10 | 10 | ||
| 11 | -/** | ||
| 12 | - * 说明: 用户头像 | ||
| 13 | - * 创建人:FH Q313596790 | ||
| 14 | - * 创建时间:2016-06-05 | ||
| 15 | - * @version | ||
| 16 | - */ | ||
| 17 | @Service("userphotoService") | 11 | @Service("userphotoService") |
| 18 | public class UserPhotoService implements UserPhotoManager{ | 12 | public class UserPhotoService implements UserPhotoManager{ |
| 19 | 13 |
src/com/fh/service/weixin/command/CommandService.java
| @@ -10,11 +10,6 @@ import com.fh.dao.DaoSupport; | @@ -10,11 +10,6 @@ import com.fh.dao.DaoSupport; | ||
| 10 | import com.fh.entity.Page; | 10 | import com.fh.entity.Page; |
| 11 | import com.fh.util.PageData; | 11 | import com.fh.util.PageData; |
| 12 | 12 | ||
| 13 | -/** | ||
| 14 | - * 类名称:CommandService | ||
| 15 | - * 创建人:FH QQ 313596790 | ||
| 16 | - * 创建时间:2015-05-09 | ||
| 17 | - */ | ||
| 18 | @Service("commandService") | 13 | @Service("commandService") |
| 19 | public class CommandService { | 14 | public class CommandService { |
| 20 | 15 |
src/com/fh/service/weixin/imgmsg/ImgmsgService.java
| @@ -11,11 +11,6 @@ import com.fh.entity.Page; | @@ -11,11 +11,6 @@ import com.fh.entity.Page; | ||
| 11 | import com.fh.util.PageData; | 11 | import com.fh.util.PageData; |
| 12 | 12 | ||
| 13 | 13 | ||
| 14 | -/** | ||
| 15 | - * 类名称:ImgmsgService | ||
| 16 | - * 创建人:FH QQ 313596790 | ||
| 17 | - * 创建时间:2015-05-09 | ||
| 18 | - */ | ||
| 19 | @Service("imgmsgService") | 14 | @Service("imgmsgService") |
| 20 | public class ImgmsgService { | 15 | public class ImgmsgService { |
| 21 | 16 |
src/com/fh/service/weixin/key/KeyManager.java
| @@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
| 4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 说明: 公众平台Key信息接口 | ||
| 9 | - * 创建人:FH Q313596790 | ||
| 10 | - * 创建时间:2016-10-30 | ||
| 11 | - * @version | ||
| 12 | - */ | ||
| 13 | public interface KeyManager{ | 7 | public interface KeyManager{ |
| 14 | 8 | ||
| 15 | /**新增 | 9 | /**新增 |
src/com/fh/service/weixin/key/impl/KeyService.java
| @@ -11,12 +11,6 @@ import com.fh.entity.Page; | @@ -11,12 +11,6 @@ import com.fh.entity.Page; | ||
| 11 | import com.fh.util.PageData; | 11 | import com.fh.util.PageData; |
| 12 | import com.fh.service.weixin.key.KeyManager; | 12 | import com.fh.service.weixin.key.KeyManager; |
| 13 | 13 | ||
| 14 | -/** | ||
| 15 | - * 说明: 公众平台Key信息 | ||
| 16 | - * 创建人:FH Q313596790 | ||
| 17 | - * 创建时间:2016-10-30 | ||
| 18 | - * @version | ||
| 19 | - */ | ||
| 20 | @Service("keyService") | 14 | @Service("keyService") |
| 21 | public class KeyService implements KeyManager{ | 15 | public class KeyService implements KeyManager{ |
| 22 | 16 |
src/com/fh/service/weixin/mymenu/MyMenuManager.java
| @@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
| 4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
| 5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 说明: 微信自定义菜单接口 | ||
| 9 | - * 创建人:FH Q313596790 | ||
| 10 | - * 创建时间:2016-10-30 | ||
| 11 | - * @version | ||
| 12 | - */ | ||
| 13 | public interface MyMenuManager{ | 7 | public interface MyMenuManager{ |
| 14 | 8 | ||
| 15 | /**新增 | 9 | /**新增 |
src/com/fh/service/weixin/mymenu/impl/MyMenuService.java
| @@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
| 8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
| 9 | import com.fh.service.weixin.mymenu.MyMenuManager; | 9 | import com.fh.service.weixin.mymenu.MyMenuManager; |
| 10 | 10 | ||
| 11 | -/** | ||
| 12 | - * 说明: 微信自定义菜单 | ||
| 13 | - * 创建人:FH Q313596790 | ||
| 14 | - * 创建时间:2016-10-30 | ||
| 15 | - * @version | ||
| 16 | - */ | ||
| 17 | @Service("mymenuService") | 11 | @Service("mymenuService") |
| 18 | public class MyMenuService implements MyMenuManager{ | 12 | public class MyMenuService implements MyMenuManager{ |
| 19 | 13 |
src/com/fh/service/weixin/textmsg/TextmsgService.java
| @@ -10,11 +10,6 @@ import com.fh.dao.DaoSupport; | @@ -10,11 +10,6 @@ import com.fh.dao.DaoSupport; | ||
| 10 | import com.fh.entity.Page; | 10 | import com.fh.entity.Page; |
| 11 | import com.fh.util.PageData; | 11 | import com.fh.util.PageData; |
| 12 | 12 | ||
| 13 | -/** | ||
| 14 | - * 类名称:TextmsgService | ||
| 15 | - * 创建人:FH QQ 313596790 | ||
| 16 | - * 创建时间:2015-05-09 | ||
| 17 | - */ | ||
| 18 | @Service("textmsgService") | 13 | @Service("textmsgService") |
| 19 | public class TextmsgService { | 14 | public class TextmsgService { |
| 20 | 15 |
src/com/fh/util/AppUtil.java
| @@ -6,10 +6,6 @@ import java.util.Map; | @@ -6,10 +6,6 @@ import java.util.Map; | ||
| 6 | 6 | ||
| 7 | import org.codehaus.jackson.map.util.JSONPObject; | 7 | import org.codehaus.jackson.map.util.JSONPObject; |
| 8 | 8 | ||
| 9 | -/** 接口参数校验 | ||
| 10 | - * @author: fh qq313596790[青苔] | ||
| 11 | - * 修改日期:2015/11/2 | ||
| 12 | - */ | ||
| 13 | public class AppUtil { | 9 | public class AppUtil { |
| 14 | 10 | ||
| 15 | protected static Logger logger = Logger.getLogger(AppUtil.class); | 11 | protected static Logger logger = Logger.getLogger(AppUtil.class); |
src/com/fh/util/Const.java
| 1 | package com.fh.util; | 1 | package com.fh.util; |
| 2 | 2 | ||
| 3 | import org.springframework.context.ApplicationContext; | 3 | import org.springframework.context.ApplicationContext; |
| 4 | -/** | ||
| 5 | - * 项目名称: | ||
| 6 | - * @author:fh qq313596790[青苔] | ||
| 7 | - * 修改日期:2015/11/2 | ||
| 8 | -*/ | ||
| 9 | public class Const { | 4 | public class Const { |
| 10 | public static final String SESSION_SECURITY_CODE = "sessionSecCode"; //验证码 | 5 | public static final String SESSION_SECURITY_CODE = "sessionSecCode"; //验证码 |
| 11 | public static final String SESSION_USER = "sessionUser"; //session用的用户 | 6 | public static final String SESSION_USER = "sessionUser"; //session用的用户 |
src/com/fh/util/Constants.java
| 1 | package com.fh.util; | 1 | package com.fh.util; |
| 2 | 2 | ||
| 3 | -/** | ||
| 4 | - * 说明: | ||
| 5 | - * 创建人:FH Q313596790 | ||
| 6 | - * 修改时间:2015年11月24日 | ||
| 7 | - * @version | ||
| 8 | - */ | ||
| 9 | public class Constants { | 3 | public class Constants { |
| 10 | 4 | ||
| 11 | public static String PICTURE_VISIT_FILE_PATH = "";//图片访问的路径 | 5 | public static String PICTURE_VISIT_FILE_PATH = "";//图片访问的路径 |
src/com/fh/util/DateUtil.java
| @@ -6,12 +6,6 @@ import java.text.SimpleDateFormat; | @@ -6,12 +6,6 @@ import java.text.SimpleDateFormat; | ||
| 6 | import java.util.Calendar; | 6 | import java.util.Calendar; |
| 7 | import java.util.Date; | 7 | import java.util.Date; |
| 8 | 8 | ||
| 9 | -/** | ||
| 10 | - * 说明:日期处理 | ||
| 11 | - * 创建人:FH Q313596790 | ||
| 12 | - * 修改时间:2015年11月24日 | ||
| 13 | - * @version | ||
| 14 | - */ | ||
| 15 | public class DateUtil { | 9 | public class DateUtil { |
| 16 | 10 | ||
| 17 | private final static SimpleDateFormat sdfYear = new SimpleDateFormat("yyyy"); | 11 | private final static SimpleDateFormat sdfYear = new SimpleDateFormat("yyyy"); |
src/com/fh/util/DbFH.java
| @@ -33,12 +33,6 @@ import java.util.concurrent.Future; | @@ -33,12 +33,6 @@ import java.util.concurrent.Future; | ||
| 33 | import org.apache.commons.logging.Log; | 33 | import org.apache.commons.logging.Log; |
| 34 | import org.apache.commons.logging.LogFactory; | 34 | import org.apache.commons.logging.LogFactory; |
| 35 | 35 | ||
| 36 | -/** | ||
| 37 | - * 说明:用于备份、还原数据库、在线编辑SQL | ||
| 38 | - * 创建人:FH Q313596790 | ||
| 39 | - * 修改时间:2016年3月29日 | ||
| 40 | - * @version | ||
| 41 | - */ | ||
| 42 | public class DbFH{ | 36 | public class DbFH{ |
| 43 | private static Log logger = LogFactory.getLog(DbFH.class); | 37 | private static Log logger = LogFactory.getLog(DbFH.class); |
| 44 | private static Properties pros = getPprVue(); | 38 | private static Properties pros = getPprVue(); |
src/com/fh/util/DelAllFile.java
| @@ -2,12 +2,6 @@ package com.fh.util; | @@ -2,12 +2,6 @@ package com.fh.util; | ||
| 2 | 2 | ||
| 3 | import java.io.File; | 3 | import java.io.File; |
| 4 | 4 | ||
| 5 | -/** | ||
| 6 | - * java删除所有文件和文件夹 | ||
| 7 | - * 创建人:FH Q313596790 | ||
| 8 | - * 创建时间:2015年1月12日 | ||
| 9 | - * @version | ||
| 10 | - */ | ||
| 11 | public class DelAllFile { | 5 | public class DelAllFile { |
| 12 | 6 | ||
| 13 | public static void main(String args[]) { | 7 | public static void main(String args[]) { |
src/com/fh/util/FileDownload.java
| @@ -6,12 +6,6 @@ import java.net.URLEncoder; | @@ -6,12 +6,6 @@ import java.net.URLEncoder; | ||
| 6 | 6 | ||
| 7 | import javax.servlet.http.HttpServletResponse; | 7 | import javax.servlet.http.HttpServletResponse; |
| 8 | 8 | ||
| 9 | -/** | ||
| 10 | - * 下载文件 | ||
| 11 | - * 创建人:FH Q313596790 | ||
| 12 | - * 创建时间:2014年12月23日 | ||
| 13 | - * @version | ||
| 14 | - */ | ||
| 15 | public class FileDownload { | 9 | public class FileDownload { |
| 16 | 10 | ||
| 17 | /** | 11 | /** |
src/com/fh/util/FileUpload.java
| @@ -12,12 +12,6 @@ import java.net.URL; | @@ -12,12 +12,6 @@ import java.net.URL; | ||
| 12 | import org.apache.commons.io.FileUtils; | 12 | import org.apache.commons.io.FileUtils; |
| 13 | import org.springframework.web.multipart.MultipartFile; | 13 | import org.springframework.web.multipart.MultipartFile; |
| 14 | 14 | ||
| 15 | -/** | ||
| 16 | - * 上传文件 | ||
| 17 | - * 创建人:FH Q313596790 | ||
| 18 | - * 创建时间:2014年12月23日 | ||
| 19 | - * @version | ||
| 20 | - */ | ||
| 21 | public class FileUpload { | 15 | public class FileUpload { |
| 22 | 16 | ||
| 23 | /**上传文件 | 17 | /**上传文件 |
src/com/fh/util/FileUtil.java
| @@ -12,10 +12,6 @@ import java.nio.MappedByteBuffer; | @@ -12,10 +12,6 @@ import java.nio.MappedByteBuffer; | ||
| 12 | import java.nio.channels.FileChannel; | 12 | import java.nio.channels.FileChannel; |
| 13 | import java.nio.channels.FileChannel.MapMode; | 13 | import java.nio.channels.FileChannel.MapMode; |
| 14 | 14 | ||
| 15 | -/** 文件处理 | ||
| 16 | -* 创建人:FH Q313596790 | ||
| 17 | - * 创建时间:2014年12月23日 | ||
| 18 | - */ | ||
| 19 | public class FileUtil { | 15 | public class FileUtil { |
| 20 | 16 | ||
| 21 | 17 |
src/com/fh/util/FileZip.java
| @@ -5,10 +5,6 @@ import java.io.FileOutputStream; | @@ -5,10 +5,6 @@ import java.io.FileOutputStream; | ||
| 5 | import java.util.zip.ZipEntry; | 5 | import java.util.zip.ZipEntry; |
| 6 | import java.util.zip.ZipOutputStream; | 6 | import java.util.zip.ZipOutputStream; |
| 7 | 7 | ||
| 8 | -/**java压缩成zip | ||
| 9 | - * @author FH Q313596790 | ||
| 10 | - * 创建时间:2015年1月14日 | ||
| 11 | - */ | ||
| 12 | public class FileZip { | 8 | public class FileZip { |
| 13 | 9 | ||
| 14 | /** | 10 | /** |
src/com/fh/util/Freemarker.java
| @@ -14,12 +14,6 @@ import freemarker.template.Configuration; | @@ -14,12 +14,6 @@ import freemarker.template.Configuration; | ||
| 14 | import freemarker.template.Template; | 14 | import freemarker.template.Template; |
| 15 | import freemarker.template.TemplateException; | 15 | import freemarker.template.TemplateException; |
| 16 | 16 | ||
| 17 | -/** | ||
| 18 | - * Freemarker 模版引擎类 | ||
| 19 | - * 创建人:FH Q313596790 | ||
| 20 | - * 创建时间:2015年2月8日 | ||
| 21 | - * @version | ||
| 22 | - */ | ||
| 23 | public class Freemarker { | 17 | public class Freemarker { |
| 24 | 18 | ||
| 25 | /** | 19 | /** |
src/com/fh/util/GetPinyin.java
| @@ -6,11 +6,6 @@ import net.sourceforge.pinyin4j.format.HanyuPinyinToneType; | @@ -6,11 +6,6 @@ import net.sourceforge.pinyin4j.format.HanyuPinyinToneType; | ||
| 6 | import net.sourceforge.pinyin4j.format.HanyuPinyinVCharType; | 6 | import net.sourceforge.pinyin4j.format.HanyuPinyinVCharType; |
| 7 | import net.sourceforge.pinyin4j.format.exception.BadHanyuPinyinOutputFormatCombination; | 7 | import net.sourceforge.pinyin4j.format.exception.BadHanyuPinyinOutputFormatCombination; |
| 8 | 8 | ||
| 9 | -/** | ||
| 10 | - * 汉字解析拼音处理 | ||
| 11 | - * @author: FHQ313596790 | ||
| 12 | - * 修改时间:2015年11月24日 | ||
| 13 | - */ | ||
| 14 | public class GetPinyin { | 9 | public class GetPinyin { |
| 15 | 10 | ||
| 16 | /** | 11 | /** |
src/com/fh/util/GetWeb.java
| @@ -11,11 +11,6 @@ import java.util.List; | @@ -11,11 +11,6 @@ import java.util.List; | ||
| 11 | import java.util.regex.Matcher; | 11 | import java.util.regex.Matcher; |
| 12 | import java.util.regex.Pattern; | 12 | import java.util.regex.Pattern; |
| 13 | 13 | ||
| 14 | -/** | ||
| 15 | - * 说明:爬取网页 创建人:FH Q 3 1359 679 0 修改时间:2016年3月24日 | ||
| 16 | - * | ||
| 17 | - * @version | ||
| 18 | - */ | ||
| 19 | public class GetWeb { | 14 | public class GetWeb { |
| 20 | 15 | ||
| 21 | /** | 16 | /** |
src/com/fh/util/ImageAnd64Binary.java
| @@ -9,11 +9,6 @@ import java.io.OutputStream; | @@ -9,11 +9,6 @@ import java.io.OutputStream; | ||
| 9 | import Decoder.BASE64Decoder; | 9 | import Decoder.BASE64Decoder; |
| 10 | import Decoder.BASE64Encoder; | 10 | import Decoder.BASE64Encoder; |
| 11 | 11 | ||
| 12 | -/** | ||
| 13 | - * 说明:BASE64处理 创建人:FH Q313596790 修改时间:2015年11月24日 | ||
| 14 | - * | ||
| 15 | - * @version | ||
| 16 | - */ | ||
| 17 | public class ImageAnd64Binary { | 12 | public class ImageAnd64Binary { |
| 18 | 13 | ||
| 19 | public static void main(String[] args) { | 14 | public static void main(String[] args) { |
src/com/fh/util/JPushClientUtil.java
| @@ -13,12 +13,6 @@ import cn.jpush.api.MessageResult; | @@ -13,12 +13,6 @@ import cn.jpush.api.MessageResult; | ||
| 13 | 13 | ||
| 14 | import com.fh.controller.base.BaseController; | 14 | import com.fh.controller.base.BaseController; |
| 15 | 15 | ||
| 16 | -/** | ||
| 17 | - * 说明:极光推送工具类 | ||
| 18 | - * 创建人:FH Q313596790 | ||
| 19 | - * 修改时间:2015年11月24日 | ||
| 20 | - * @version | ||
| 21 | - */ | ||
| 22 | @Controller | 16 | @Controller |
| 23 | @RequestMapping(value="/jpush") | 17 | @RequestMapping(value="/jpush") |
| 24 | public class JPushClientUtil extends BaseController{ | 18 | public class JPushClientUtil extends BaseController{ |
src/com/fh/util/Jurisdiction.java
| @@ -8,11 +8,6 @@ import org.apache.shiro.session.Session; | @@ -8,11 +8,6 @@ import org.apache.shiro.session.Session; | ||
| 8 | 8 | ||
| 9 | import com.fh.entity.system.Menu; | 9 | import com.fh.entity.system.Menu; |
| 10 | 10 | ||
| 11 | -/** | ||
| 12 | - * 权限处理 | ||
| 13 | - * @author:fh qq 313596790[青苔] | ||
| 14 | - * 修改日期:2015/11/19 | ||
| 15 | -*/ | ||
| 16 | public class Jurisdiction { | 11 | public class Jurisdiction { |
| 17 | 12 | ||
| 18 | /** | 13 | /** |
src/com/fh/util/LatLonUtil.java
| 1 | package com.fh.util; | 1 | package com.fh.util; |
| 2 | 2 | ||
| 3 | -/** | ||
| 4 | - * 说明: | ||
| 5 | - * 创建人:FH Q313596790 | ||
| 6 | - * 修改时间:2015年11月24日 | ||
| 7 | - * @version | ||
| 8 | - */ | ||
| 9 | public class LatLonUtil { | 3 | public class LatLonUtil { |
| 10 | 4 | ||
| 11 | private static final double PI = 3.14159265; // 圆周率 | 5 | private static final double PI = 3.14159265; // 圆周率 |
src/com/fh/util/Logger.java
src/com/fh/util/MD5.java
| 1 | package com.fh.util; | 1 | package com.fh.util; |
| 2 | 2 | ||
| 3 | import java.security.MessageDigest; | 3 | import java.security.MessageDigest; |
| 4 | -/** | ||
| 5 | - * 说明:MD5处理 | ||
| 6 | - * 创建人:FH Q313596790 | ||
| 7 | - * 修改时间:2014年9月20日 | ||
| 8 | - * @version | ||
| 9 | - */ | ||
| 10 | public class MD5 { | 4 | public class MD5 { |
| 11 | 5 | ||
| 12 | public static String md5(String str) { | 6 | public static String md5(String str) { |
src/com/fh/util/MapDistance.java
| @@ -3,12 +3,6 @@ package com.fh.util; | @@ -3,12 +3,6 @@ package com.fh.util; | ||
| 3 | import java.util.HashMap; | 3 | import java.util.HashMap; |
| 4 | import java.util.Map; | 4 | import java.util.Map; |
| 5 | 5 | ||
| 6 | -/** | ||
| 7 | - * 说明:经纬度处理 | ||
| 8 | - * 创建人:FH Q313596790 | ||
| 9 | - * 修改时间:2014年9月20日 | ||
| 10 | - * @version | ||
| 11 | - */ | ||
| 12 | public class MapDistance { | 6 | public class MapDistance { |
| 13 | 7 | ||
| 14 | private static double EARTH_RADIUS = 6378.137; | 8 | private static double EARTH_RADIUS = 6378.137; |
src/com/fh/util/ObjectExcelRead.java
| @@ -11,12 +11,6 @@ import org.apache.poi.hssf.usermodel.HSSFSheet; | @@ -11,12 +11,6 @@ import org.apache.poi.hssf.usermodel.HSSFSheet; | ||
| 11 | import org.apache.poi.hssf.usermodel.HSSFWorkbook; | 11 | import org.apache.poi.hssf.usermodel.HSSFWorkbook; |
| 12 | 12 | ||
| 13 | 13 | ||
| 14 | -/** | ||
| 15 | - * 从EXCEL导入到数据库 | ||
| 16 | - * 创建人:FH Q313596790 | ||
| 17 | - * 创建时间:2014年12月23日 | ||
| 18 | - * @version | ||
| 19 | - */ | ||
| 20 | public class ObjectExcelRead { | 14 | public class ObjectExcelRead { |
| 21 | 15 | ||
| 22 | /** | 16 | /** |
src/com/fh/util/ObjectExcelView.java
| @@ -16,12 +16,6 @@ import org.springframework.web.servlet.view.document.AbstractExcelView; | @@ -16,12 +16,6 @@ import org.springframework.web.servlet.view.document.AbstractExcelView; | ||
| 16 | 16 | ||
| 17 | import com.fh.util.PageData; | 17 | import com.fh.util.PageData; |
| 18 | import com.fh.util.Tools; | 18 | import com.fh.util.Tools; |
| 19 | -/** | ||
| 20 | -* 导入到EXCEL | ||
| 21 | -* 类名称:ObjectExcelView.java | ||
| 22 | -* @author FH Q313596790 | ||
| 23 | -* @version 1.0 | ||
| 24 | - */ | ||
| 25 | public class ObjectExcelView extends AbstractExcelView{ | 19 | public class ObjectExcelView extends AbstractExcelView{ |
| 26 | 20 | ||
| 27 | @Override | 21 | @Override |
src/com/fh/util/PageData.java
| @@ -11,12 +11,6 @@ import java.util.Set; | @@ -11,12 +11,6 @@ import java.util.Set; | ||
| 11 | import javax.servlet.http.HttpServletRequest; | 11 | import javax.servlet.http.HttpServletRequest; |
| 12 | 12 | ||
| 13 | import com.alibaba.druid.proxy.jdbc.ClobProxyImpl; | 13 | import com.alibaba.druid.proxy.jdbc.ClobProxyImpl; |
| 14 | -/** | ||
| 15 | - * 说明:参数封装Map | ||
| 16 | - * 创建人:FH Q313596790 | ||
| 17 | - * 修改时间:2014年9月20日 | ||
| 18 | - * @version | ||
| 19 | - */ | ||
| 20 | public class PageData extends HashMap implements Map{ | 14 | public class PageData extends HashMap implements Map{ |
| 21 | 15 | ||
| 22 | private static final long serialVersionUID = 1L; | 16 | private static final long serialVersionUID = 1L; |
src/com/fh/util/PathUtil.java
| @@ -7,12 +7,6 @@ import javax.servlet.http.HttpServletRequest; | @@ -7,12 +7,6 @@ import javax.servlet.http.HttpServletRequest; | ||
| 7 | import org.springframework.web.context.request.RequestContextHolder; | 7 | import org.springframework.web.context.request.RequestContextHolder; |
| 8 | import org.springframework.web.context.request.ServletRequestAttributes; | 8 | import org.springframework.web.context.request.ServletRequestAttributes; |
| 9 | 9 | ||
| 10 | -/** | ||
| 11 | - * 说明:路径工具类 | ||
| 12 | - * 创建人:FH Q313596790 | ||
| 13 | - * 修改时间:2014年9月20日 | ||
| 14 | - * @version | ||
| 15 | - */ | ||
| 16 | public class PathUtil { | 10 | public class PathUtil { |
| 17 | 11 | ||
| 18 | /** | 12 | /** |
src/com/fh/util/PublicUtil.java
| @@ -3,12 +3,6 @@ package com.fh.util; | @@ -3,12 +3,6 @@ package com.fh.util; | ||
| 3 | import java.net.InetAddress; | 3 | import java.net.InetAddress; |
| 4 | import java.net.UnknownHostException; | 4 | import java.net.UnknownHostException; |
| 5 | 5 | ||
| 6 | -/** | ||
| 7 | - * 说明:IP处理 | ||
| 8 | - * 创建人:FH Q313596790 | ||
| 9 | - * 修改时间:2014年9月20日 | ||
| 10 | - * @version | ||
| 11 | - */ | ||
| 12 | public class PublicUtil { | 6 | public class PublicUtil { |
| 13 | 7 | ||
| 14 | public static void main(String[] args) { | 8 | public static void main(String[] args) { |
src/com/fh/util/QuartzManager.java
| @@ -14,10 +14,6 @@ import org.quartz.TriggerBuilder; | @@ -14,10 +14,6 @@ import org.quartz.TriggerBuilder; | ||
| 14 | import org.quartz.TriggerKey; | 14 | import org.quartz.TriggerKey; |
| 15 | import org.quartz.impl.StdSchedulerFactory; | 15 | import org.quartz.impl.StdSchedulerFactory; |
| 16 | 16 | ||
| 17 | -/** 定时任务管理类 | ||
| 18 | - * @author FH 3 13 59679 0 Q | ||
| 19 | - * @date 2016-4-9 | ||
| 20 | - */ | ||
| 21 | public class QuartzManager { | 17 | public class QuartzManager { |
| 22 | private static SchedulerFactory gSchedulerFactory = new StdSchedulerFactory(); //创建一个SchedulerFactory工厂实例 | 18 | private static SchedulerFactory gSchedulerFactory = new StdSchedulerFactory(); //创建一个SchedulerFactory工厂实例 |
| 23 | private static String JOB_GROUP_NAME = "FH_JOBGROUP_NAME"; //任务组 | 19 | private static String JOB_GROUP_NAME = "FH_JOBGROUP_NAME"; //任务组 |
src/com/fh/util/ReflectHelper.java
| @@ -2,12 +2,6 @@ package com.fh.util; | @@ -2,12 +2,6 @@ package com.fh.util; | ||
| 2 | 2 | ||
| 3 | import java.lang.reflect.Field; | 3 | import java.lang.reflect.Field; |
| 4 | 4 | ||
| 5 | -/** | ||
| 6 | - * 说明:反射工具 | ||
| 7 | - * 创建人:FH Q313596790 | ||
| 8 | - * 修改时间:2014年9月20日 | ||
| 9 | - * @version | ||
| 10 | - */ | ||
| 11 | public class ReflectHelper { | 5 | public class ReflectHelper { |
| 12 | /** | 6 | /** |
| 13 | * 获取obj对象fieldName的Field | 7 | * 获取obj对象fieldName的Field |
src/com/fh/util/RightsHelper.java
| @@ -2,11 +2,6 @@ package com.fh.util; | @@ -2,11 +2,6 @@ package com.fh.util; | ||
| 2 | 2 | ||
| 3 | import java.math.BigInteger; | 3 | import java.math.BigInteger; |
| 4 | 4 | ||
| 5 | -/** | ||
| 6 | - * 权限计算帮助类 | ||
| 7 | - * @author fh qq 3 1 3 5 96790[青苔] | ||
| 8 | - * 修改日期:2015/11/2 | ||
| 9 | - */ | ||
| 10 | public class RightsHelper { | 5 | public class RightsHelper { |
| 11 | /** | 6 | /** |
| 12 | * 利用BigInteger对权限进行2的权的和计算 | 7 | * 利用BigInteger对权限进行2的权的和计算 |
src/com/fh/util/ServiceHelper.java
| @@ -5,10 +5,6 @@ import com.fh.service.system.role.impl.RoleService; | @@ -5,10 +5,6 @@ import com.fh.service.system.role.impl.RoleService; | ||
| 5 | import com.fh.service.system.user.UserManager; | 5 | import com.fh.service.system.user.UserManager; |
| 6 | 6 | ||
| 7 | 7 | ||
| 8 | -/** | ||
| 9 | - * @author Administrator | ||
| 10 | - * 获取Spring容器中的service bean | ||
| 11 | - */ | ||
| 12 | public final class ServiceHelper { | 8 | public final class ServiceHelper { |
| 13 | 9 | ||
| 14 | public static Object getService(String serviceName){ | 10 | public static Object getService(String serviceName){ |
src/com/fh/util/SmsUtil.java
| @@ -22,12 +22,6 @@ import org.dom4j.DocumentException; | @@ -22,12 +22,6 @@ import org.dom4j.DocumentException; | ||
| 22 | import org.dom4j.DocumentHelper; | 22 | import org.dom4j.DocumentHelper; |
| 23 | import org.dom4j.Element; | 23 | import org.dom4j.Element; |
| 24 | 24 | ||
| 25 | -/** | ||
| 26 | - * 说明:短信接口类 | ||
| 27 | - * 创建人:FH Q313596790 | ||
| 28 | - * 修改时间:2013年2月22日 | ||
| 29 | - * @version | ||
| 30 | - */ | ||
| 31 | public class SmsUtil { | 25 | public class SmsUtil { |
| 32 | 26 | ||
| 33 | public static void main(String [] args) { | 27 | public static void main(String [] args) { |
src/com/fh/util/SortUtil.java
| @@ -9,12 +9,6 @@ import org.apache.commons.beanutils.BeanComparator; | @@ -9,12 +9,6 @@ import org.apache.commons.beanutils.BeanComparator; | ||
| 9 | import org.apache.commons.collections.ComparatorUtils; | 9 | import org.apache.commons.collections.ComparatorUtils; |
| 10 | import org.apache.commons.collections.comparators.ComparableComparator; | 10 | import org.apache.commons.collections.comparators.ComparableComparator; |
| 11 | import org.apache.commons.collections.comparators.ComparatorChain; | 11 | import org.apache.commons.collections.comparators.ComparatorChain; |
| 12 | -/** | ||
| 13 | - * 说明:list排序 | ||
| 14 | - * 创建人:FH Q313596790 | ||
| 15 | - * 修改时间:2015年11月24日 | ||
| 16 | - * @version | ||
| 17 | - */ | ||
| 18 | public class SortUtil { | 12 | public class SortUtil { |
| 19 | 13 | ||
| 20 | /** | 14 | /** |
src/com/fh/util/Tools.java
| @@ -15,12 +15,6 @@ import java.util.Random; | @@ -15,12 +15,6 @@ import java.util.Random; | ||
| 15 | import java.util.regex.Matcher; | 15 | import java.util.regex.Matcher; |
| 16 | import java.util.regex.Pattern; | 16 | import java.util.regex.Pattern; |
| 17 | 17 | ||
| 18 | -/** | ||
| 19 | - * 说明:常用工具 | ||
| 20 | - * 创建人:FH Q313596790 | ||
| 21 | - * 修改时间:2015年11月24日 | ||
| 22 | - * @version | ||
| 23 | - */ | ||
| 24 | public class Tools { | 18 | public class Tools { |
| 25 | 19 | ||
| 26 | /** | 20 | /** |
src/com/fh/util/TwoDimensionCode.java
| @@ -16,12 +16,6 @@ import jp.sourceforge.qrcode.exception.DecodingFailedException; | @@ -16,12 +16,6 @@ import jp.sourceforge.qrcode.exception.DecodingFailedException; | ||
| 16 | import com.swetake.util.Qrcode; | 16 | import com.swetake.util.Qrcode; |
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | -/** | ||
| 20 | - * 二维码 | ||
| 21 | - * 创建人:FH 313596790QQ | ||
| 22 | - * 创建时间:2015年4月10日 | ||
| 23 | - * @version | ||
| 24 | - */ | ||
| 25 | public class TwoDimensionCode { | 19 | public class TwoDimensionCode { |
| 26 | 20 | ||
| 27 | /** | 21 | /** |
src/com/fh/util/TwoDimensionCodeImage.java
| @@ -4,11 +4,6 @@ import java.awt.image.BufferedImage; | @@ -4,11 +4,6 @@ import java.awt.image.BufferedImage; | ||
| 4 | 4 | ||
| 5 | import jp.sourceforge.qrcode.data.QRCodeImage; | 5 | import jp.sourceforge.qrcode.data.QRCodeImage; |
| 6 | 6 | ||
| 7 | -/** | ||
| 8 | - * 二维码 | ||
| 9 | - * 创建人:FH 创建时间:2015年4月10日 | ||
| 10 | - * @version | ||
| 11 | - */ | ||
| 12 | public class TwoDimensionCodeImage implements QRCodeImage { | 7 | public class TwoDimensionCodeImage implements QRCodeImage { |
| 13 | 8 | ||
| 14 | BufferedImage bufImg; | 9 | BufferedImage bufImg; |
src/com/fh/util/Uploader.java
| @@ -16,10 +16,6 @@ import Decoder.BASE64Decoder; | @@ -16,10 +16,6 @@ import Decoder.BASE64Decoder; | ||
| 16 | 16 | ||
| 17 | import javax.servlet.http.HttpServletRequest; | 17 | import javax.servlet.http.HttpServletRequest; |
| 18 | 18 | ||
| 19 | -/** | ||
| 20 | - * UEditor(百度编辑器)文件上传辅助类 | ||
| 21 | - * | ||
| 22 | - */ | ||
| 23 | public class Uploader { | 19 | public class Uploader { |
| 24 | 20 | ||
| 25 | // 文件大小常量, 单位kb | 21 | // 文件大小常量, 单位kb |
src/com/fh/util/Watermark.java
| @@ -13,12 +13,6 @@ import javax.imageio.ImageIO; | @@ -13,12 +13,6 @@ import javax.imageio.ImageIO; | ||
| 13 | import com.sun.image.codec.jpeg.JPEGCodec; | 13 | import com.sun.image.codec.jpeg.JPEGCodec; |
| 14 | import com.sun.image.codec.jpeg.JPEGImageEncoder; | 14 | import com.sun.image.codec.jpeg.JPEGImageEncoder; |
| 15 | 15 | ||
| 16 | -/** | ||
| 17 | - * 说明:图片水印处理类 (报错注意:用安装版的jdk,不要用开发工具自带的jdk) | ||
| 18 | - * 创建人:FH Q313596790 | ||
| 19 | - * 修改时间:2013年12月1日 | ||
| 20 | - * @version | ||
| 21 | - */ | ||
| 22 | public class Watermark { | 16 | public class Watermark { |
| 23 | 17 | ||
| 24 | private static String strFWATERM,strIWATERM; | 18 | private static String strFWATERM,strIWATERM; |
src/com/fh/util/express/GetExpressMsg.java
| @@ -11,10 +11,6 @@ import com.fh.util.express.constant.HttpHeader; | @@ -11,10 +11,6 @@ import com.fh.util.express.constant.HttpHeader; | ||
| 11 | import com.fh.util.express.constant.HttpSchema; | 11 | import com.fh.util.express.constant.HttpSchema; |
| 12 | import com.fh.util.express.enums.Method; | 12 | import com.fh.util.express.enums.Method; |
| 13 | 13 | ||
| 14 | -/** 获取物流信息 | ||
| 15 | -* 创建人:FH Q313596790 | ||
| 16 | - * 创建时间:2016年10月11日 | ||
| 17 | - */ | ||
| 18 | public class GetExpressMsg { | 14 | public class GetExpressMsg { |
| 19 | 15 | ||
| 20 | //购买地址:https://market.aliyun.com/products/57126001/cmapi011120.html#sku=yuncode512000008 | 16 | //购买地址:https://market.aliyun.com/products/57126001/cmapi011120.html#sku=yuncode512000008 |
src/com/fh/util/mail/SimpleMailSender.java
| @@ -18,7 +18,6 @@ import com.fh.controller.base.BaseController; | @@ -18,7 +18,6 @@ import com.fh.controller.base.BaseController; | ||
| 18 | 18 | ||
| 19 | /** | 19 | /** |
| 20 | * 邮件发送器 | 20 | * 邮件发送器 |
| 21 | - * @author FH QQ 313596790[青苔] | ||
| 22 | */ | 21 | */ |
| 23 | public class SimpleMailSender extends BaseController { | 22 | public class SimpleMailSender extends BaseController { |
| 24 | /** | 23 | /** |
src/com/fh/util/weixin/MenuUtil.java
| @@ -18,15 +18,6 @@ import com.fh.entity.weixin.Menu; | @@ -18,15 +18,6 @@ import com.fh.entity.weixin.Menu; | ||
| 18 | import com.fh.entity.weixin.ViewButton; | 18 | import com.fh.entity.weixin.ViewButton; |
| 19 | import com.fh.util.PageData; | 19 | import com.fh.util.PageData; |
| 20 | 20 | ||
| 21 | -/** | ||
| 22 | - * | ||
| 23 | -* 类描述: 微信自定义菜单 | ||
| 24 | -* @author FH 31 35 96790 | ||
| 25 | -* 作者单位: | ||
| 26 | -* 联系方式: | ||
| 27 | -* 创建时间:206年11月1日 | ||
| 28 | -* @version 1.0 | ||
| 29 | - */ | ||
| 30 | public class MenuUtil { | 21 | public class MenuUtil { |
| 31 | /** | 22 | /** |
| 32 | * 创建自定义菜单(每天限制1000次) | 23 | * 创建自定义菜单(每天限制1000次) |
src/com/fh/util/weixin/Weixin.java
| @@ -17,12 +17,6 @@ import javax.net.ssl.X509TrustManager; | @@ -17,12 +17,6 @@ import javax.net.ssl.X509TrustManager; | ||
| 17 | 17 | ||
| 18 | import net.sf.json.JSONObject; | 18 | import net.sf.json.JSONObject; |
| 19 | 19 | ||
| 20 | -/** | ||
| 21 | - * 类描述: 微信公众平台工具类 | ||
| 22 | - * | ||
| 23 | - * @author FH 31 35 96790 作者单位: 联系方式: 创建时间:206年11月1日 | ||
| 24 | - * @version 1.0 | ||
| 25 | - */ | ||
| 26 | public class Weixin { | 20 | public class Weixin { |
| 27 | 21 | ||
| 28 | public final static String access_token_url = "https://api.weixin.qq.com/cgi-bin/token?" + "grant_type=client_credential&appid=APPID&secret=APPSECRET"; | 22 | public final static String access_token_url = "https://api.weixin.qq.com/cgi-bin/token?" + "grant_type=client_credential&appid=APPID&secret=APPSECRET"; |