首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

education.zip

后端 136.51KB 14 需要积分: 1
立即下载

资源介绍:

education
package com.education.common.utils; import com.alibaba.fastjson.JSONObject; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.PrintWriter; /** * @descript: 返回结果类 * @Auther: zengjintao * @Date: 2019/12/31 13:46 * @Version:2.1.0 */ public final class Result { private T data; private int code; private static final String DEFAULT_SUCCESS_MESSAGE = "操作成功"; private static final String DEFAULT_FAIL_MESSAGE = "操作失败"; private String message = DEFAULT_SUCCESS_MESSAGE; public Result(int code, String message) { this.code = code; this.message = message; } public boolean isSuccess() { return this.code == ResultCode.SUCCESS; } public Result() { this.code = ResultCode.SUCCESS; this.message = DEFAULT_SUCCESS_MESSAGE; } public Result(int code) { this.code = code; } public Result(int code, T data) { this.code = code; this.data = data; } public Result(ResultCode resultCode) { this.code = resultCode.getCode(); this.message = resultCode.getMessage(); } public Result(ResultCode resultCode, T data) { this.code = resultCode.getCode(); this.message = resultCode.getMessage(); this.data = data; } public static Result success(int code, String message, T data) { return new Result(code, message, data); } public static Result success(int code, T data) { return new Result(code, DEFAULT_SUCCESS_MESSAGE, data); } public static Result success() { return new Result(ResultCode.SUCCESS, DEFAULT_SUCCESS_MESSAGE); } public static Result success(int code, String message) { return new Result(code, message); } public Result(int code, String message, T data) { this.code = code; this.message = message; this.data = data; } public static Result success(T data) { return new Result(ResultCode.SUCCESS, DEFAULT_SUCCESS_MESSAGE, data); } public static Result success(ResultCode resultCode) { return new Result(resultCode.getCode(), resultCode.getMessage()); } public static Result fail(int code) { return new Result(code, DEFAULT_FAIL_MESSAGE); } public static Result fail(int code, String message) { return new Result(code, message); } public static Result fail() { return new Result(ResultCode.FAIL, DEFAULT_FAIL_MESSAGE); } public T getData() { return data; } public void setData(T data) { this.data = data; } public int getCode() { return code; } public void setCode(int code) { this.code = code; if (code == ResultCode.FAIL) { this.message = "数据请求失败"; } } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } static final String contentType = "application/json; charset=utf-8"; public static void renderJson(HttpServletResponse response, Result result) { String dataJson = JSONObject.toJSONString(result); PrintWriter writer = null; try { response.setHeader("Pragma", "no-cache"); response.setHeader("Cache-Control", "no-cache"); response.setDateHeader("Expires", 0); response.setContentType(contentType); writer = response.getWriter(); writer.write(dataJson); writer.flush(); return; } catch (IOException e) { throw new RuntimeException(e); } } }

资源文件列表:

education.zip 大约有208个文件
  1. education/
  2. education/.git/
  3. education/.git/COMMIT_EDITMSG 7B
  4. education/.git/config 437B
  5. education/.git/description 73B
  6. education/.git/FETCH_HEAD 431B
  7. education/.git/HEAD 23B
  8. education/.git/hooks/
  9. education/.git/hooks/applypatch-msg.sample 478B
  10. education/.git/hooks/commit-msg.sample 896B
  11. education/.git/hooks/fsmonitor-watchman.sample 4.62KB
  12. education/.git/hooks/post-update.sample 189B
  13. education/.git/hooks/pre-applypatch.sample 424B
  14. education/.git/hooks/pre-commit.sample 1.61KB
  15. education/.git/hooks/pre-merge-commit.sample 416B
  16. education/.git/hooks/pre-push.sample 1.34KB
  17. education/.git/hooks/pre-rebase.sample 4.78KB
  18. education/.git/hooks/pre-receive.sample 544B
  19. education/.git/hooks/prepare-commit-msg.sample 1.46KB
  20. education/.git/hooks/push-to-checkout.sample 2.72KB
  21. education/.git/hooks/sendemail-validate.sample 2.25KB
  22. education/.git/hooks/update.sample 3.56KB
  23. education/.git/index 10.57KB
  24. education/.git/info/
  25. education/.git/info/exclude 240B
  26. education/.git/logs/
  27. education/.git/logs/HEAD 1.08KB
  28. education/.git/logs/refs/
  29. education/.git/logs/refs/heads/
  30. education/.git/logs/refs/heads/bug 156B
  31. education/.git/logs/refs/heads/dev 156B
  32. education/.git/logs/refs/heads/master 314B
  33. education/.git/logs/refs/remotes/
  34. education/.git/logs/refs/remotes/origin/
  35. education/.git/logs/refs/remotes/origin/bug1 170B
  36. education/.git/logs/refs/remotes/origin/HEAD 175B
  37. education/.git/logs/refs/remotes/origin/master 139B
  38. education/.git/objects/
  39. education/.git/objects/08/
  40. education/.git/objects/08/cb10c6ea121c481b25bbe8891beecfe959f2c0 46B
  41. education/.git/objects/1c/
  42. education/.git/objects/1c/efadd68f1a1c96cc19cbad19ce6f4c498c47dd 74B
  43. education/.git/objects/51/
  44. education/.git/objects/51/4c1daed8be9c56dcf2ee9ae154a9bd076e39f0 74B
  45. education/.git/objects/77/
  46. education/.git/objects/77/dd498faf80cb3dac9836ad1715f8234ff1fef2 469B
  47. education/.git/objects/8c/
  48. education/.git/objects/8c/19ff5576672127e86ba0774dbf3ca118c16ef3 147B
  49. education/.git/objects/a0/
  50. education/.git/objects/a0/cc71fff6db9224e6d7cdf7963b2e37b713ec45 51B
  51. education/.git/objects/ab/
  52. education/.git/objects/ab/5389bdb8e588d3c50464d2ecadc7248254da31 215B
  53. education/.git/objects/ad/
  54. education/.git/objects/ad/54d3c22b0572caa0782f44ed64d611d0fe45a9 46B
  55. education/.git/objects/b8/
  56. education/.git/objects/b8/3cae74d3de8f30f5a93f06e649c60562b76631 47B
  57. education/.git/objects/d1/
  58. education/.git/objects/d1/ce43de1b8b9e545d814bb83870a5456620cf1f 80B
  59. education/.git/objects/f4/
  60. education/.git/objects/f4/751a056a0bd3f4980d429ab59d7bc1a5ea643e 173B
  61. education/.git/objects/info/
  62. education/.git/objects/pack/
  63. education/.git/objects/pack/pack-4880be0a426c4eb39420a04c12b3663ea4db815f.idx 8.87KB
  64. education/.git/objects/pack/pack-4880be0a426c4eb39420a04c12b3663ea4db815f.pack 34.77KB
  65. education/.git/objects/pack/pack-4880be0a426c4eb39420a04c12b3663ea4db815f.rev 1.17KB
  66. education/.git/packed-refs 244B
  67. education/.git/refs/
  68. education/.git/refs/heads/
  69. education/.git/refs/heads/bug 41B
  70. education/.git/refs/heads/dev 41B
  71. education/.git/refs/heads/master 41B
  72. education/.git/refs/remotes/
  73. education/.git/refs/remotes/origin/
  74. education/.git/refs/remotes/origin/bug1 41B
  75. education/.git/refs/remotes/origin/HEAD 32B
  76. education/.git/refs/remotes/origin/master 41B
  77. education/.git/refs/tags/
  78. education/.idea/
  79. education/.idea/compiler.xml 913B
  80. education/.idea/encodings.xml 403B
  81. education/.idea/libraries/
  82. education/.idea/libraries/Maven__ch_gos_logback_logback_core_unknown.xml 585B
  83. education/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml 592B
  84. education/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml 571B
  85. education/.idea/libraries/Maven__com_fasterxml_classmate_1_4_0.xml 546B
  86. education/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml 668B
  87. education/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_9_9.xml 619B
  88. education/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_9_9_3.xml 661B
  89. education/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_9.xml 698B
  90. education/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_9.xml 712B
  91. education/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_9.xml 753B
  92. education/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml 570B
  93. education/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml 724B
  94. education/.idea/libraries/Maven__javax_annotation_javax_annotation_api_1_3_2.xml 635B
  95. education/.idea/libraries/Maven__javax_validation_validation_api_2_0_1_Final.xml 635B
  96. education/.idea/libraries/Maven__junit_junit_4_11.xml 479B
  97. education/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_9_16.xml 560B
  98. education/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_9_16.xml 602B
  99. education/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml 566B
  100. education/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml 531B
  101. education/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_11_2.xml 597B
  102. education/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_11_2.xml 632B
  103. education/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_26.xml 649B
  104. education/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_26.xml 635B
  105. education/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_26.xml 684B
  106. education/.idea/libraries/Maven__org_assertj_assertj_core_3_11_1.xml 566B
  107. education/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml 556B
  108. education/.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml 577B
  109. education/.idea/libraries/Maven__org_hibernate_validator_hibernate_validator_6_0_17_Final.xml 705B
  110. education/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_3_3_Final.xml 632B
  111. education/.idea/libraries/Maven__org_mockito_mockito_core_2_23_4.xml 566B
  112. education/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml 532B
  113. education/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml 496B
  114. education/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml 561B
  115. education/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_28.xml 558B
  116. education/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_28.xml 537B
  117. education/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_1_9_RELEASE.xml 660B
  118. education/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_1_9_RELEASE.xml 758B
  119. education/.idea/libraries/Maven__org_springframework_boot_spring_boot_devtools_2_1_9_RELEASE.xml 723B
  120. education/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_1_9_RELEASE.xml 716B
  121. education/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_1_9_RELEASE.xml 751B
  122. education/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_1_9_RELEASE.xml 772B
  123. education/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_1_9_RELEASE.xml 751B
  124. education/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_1_9_RELEASE.xml 765B
  125. education/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_1_9_RELEASE.xml 744B
  126. education/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_1_9_RELEASE.xml 695B
  127. education/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_1_9_RELEASE.xml 793B
  128. education/.idea/libraries/Maven__org_springframework_spring_aop_5_1_10_RELEASE.xml 640B
  129. education/.idea/libraries/Maven__org_springframework_spring_beans_5_1_10_RELEASE.xml 654B
  130. education/.idea/libraries/Maven__org_springframework_spring_context_5_1_10_RELEASE.xml 668B
  131. education/.idea/libraries/Maven__org_springframework_spring_core_5_1_10_RELEASE.xml 647B
  132. education/.idea/libraries/Maven__org_springframework_spring_expression_5_1_10_RELEASE.xml 689B
  133. education/.idea/libraries/Maven__org_springframework_spring_jcl_5_1_10_RELEASE.xml 640B
  134. education/.idea/libraries/Maven__org_springframework_spring_test_5_1_10_RELEASE.xml 647B
  135. education/.idea/libraries/Maven__org_springframework_spring_webmvc_5_1_10_RELEASE.xml 661B
  136. education/.idea/libraries/Maven__org_springframework_spring_web_5_1_10_RELEASE.xml 640B
  137. education/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_6_3.xml 559B
  138. education/.idea/libraries/Maven__org_yaml_snakeyaml_1_23.xml 519B
  139. education/.idea/misc.xml 455B
  140. education/.idea/modules.xml 731B
  141. education/.idea/vcs.xml 172B
  142. education/.idea/workspace.xml 18.9KB
  143. education/education-admin-api/
  144. education/education-admin-api/.gitignore 428B
  145. education/education-admin-api/education-admin-api.iml 7.76KB
  146. education/education-admin-api/mvnw 10.67KB
  147. education/education-admin-api/mvnw.cmd 6.9KB
  148. education/education-admin-api/pom.xml 1.82KB
  149. education/education-admin-api/src/
  150. education/education-admin-api/src/main/
  151. education/education-admin-api/src/main/java/
  152. education/education-admin-api/src/main/java/com/
  153. education/education-admin-api/src/main/java/com/education/
  154. education/education-admin-api/src/main/java/com/education/admin/
  155. education/education-admin-api/src/main/java/com/education/common/
  156. education/education-admin-api/src/main/java/com/education/common/admin/
  157. education/education-admin-api/src/main/java/com/education/common/admin/api/
  158. education/education-admin-api/src/main/java/com/education/common/admin/api/EducationAdminApiApplication.java 975B
  159. education/education-admin-api/src/main/resources/
  160. education/education-admin-api/src/main/resources/application-dev.yml 21B
  161. education/education-admin-api/src/main/resources/application-prod.yml 2B
  162. education/education-admin-api/src/main/resources/application.yml 37B
  163. education/education-admin-api/src/test/
  164. education/education-admin-api/src/test/java/
  165. education/education-admin-api/src/test/java/com/
  166. education/education-admin-api/src/test/java/com/education/
  167. education/education-admin-api/src/test/java/com/education/admin/
  168. education/education-admin-api/src/test/java/com/education/common/
  169. education/education-admin-api/src/test/java/com/education/common/admin/
  170. education/education-admin-api/src/test/java/com/education/common/admin/api/
  171. education/education-admin-api/src/test/java/com/education/common/admin/api/EducationAdminApiApplicationTests.java 243B
  172. education/education-common/
  173. education/education-common/education-common.iml 7.5KB
  174. education/education-common/pom.xml 3.27KB
  175. education/education-common/src/
  176. education/education-common/src/main/
  177. education/education-common/src/main/java/
  178. education/education-common/src/main/java/com/
  179. education/education-common/src/main/java/com/education/
  180. education/education-common/src/main/java/com/education/common/
  181. education/education-common/src/main/java/com/education/common/App.java 196B
  182. education/education-common/src/main/java/com/education/common/utils/
  183. education/education-common/src/main/java/com/education/common/utils/Result.java 3.69KB
  184. education/education-common/src/main/java/com/education/common/utils/ResultCode.java 848B
  185. education/education-common/src/test/
  186. education/education-common/src/test/java/
  187. education/education-common/src/test/java/com/
  188. education/education-common/src/test/java/com/education/
  189. education/education-common/src/test/java/com/education/common/
  190. education/education-common/src/test/java/com/education/common/AppTest.java 312B
  191. education/education-service/
  192. education/education-service/education-service.iml 7.5KB
  193. education/education-service/pom.xml 3.28KB
  194. education/education-service/src/
  195. education/education-service/src/main/
  196. education/education-service/src/main/java/
  197. education/education-service/src/main/java/com/
  198. education/education-service/src/main/java/com/education/
  199. education/education-service/src/main/java/com/education/common/
  200. education/education-service/src/main/java/com/education/common/App.java 196B
  201. education/education-service/src/test/
  202. education/education-service/src/test/java/
  203. education/education-service/src/test/java/com/
  204. education/education-service/src/test/java/com/education/
  205. education/education-service/src/test/java/com/education/common/
  206. education/education-service/src/test/java/com/education/common/AppTest.java 312B
  207. education/education.iml 6.99KB
  208. education/pom.xml 3.85KB
0评论
提交 加载更多评论
其他资源 easyPlayer视频流https://blog.csdn.net/weixin-42120669/article/deta
vue3直播视频流easy-player easyPlayer视频流 https://blog.csdn.net/weixin_42120669/article/details/140853267
GDAL2.2.3 for Android
GDAL2.2.3 for Android 使用环境: compileSdkVersion 28 buildToolsVersion '28.0.3' defaultConfig { minSdkVersion 23 targetSdkVersion 28 versionCode 3 versionName '3.0' testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" multiDexEnabled true }
arcgis for android 10.2.7
arcgis for android 10.2.7 完整的离线引用的库
各学院调整专业考核方案.zip
各学院调整专业考核方案.zip
基于SSM实现的酒店后台管理系统(源码+数据库).zip
酒店后台管理系统简介 这是一个基于SSM框架开发的精简酒店后台管理系统,旨在提供高效的住客、房间和会员信息管理功能,同时支持数据的导出下载。系统采用layui-Qadmin模板设计,整体风格简约大气,操作方便快捷,欢迎各位专业人士下载使用或进行二次开发,期待各方提出宝贵意见。 安装教程 安装步骤如下: 1.导入至您的IDE工具中。 2.配置Tomcat服务器和MySQL数据库。 3.部署并运行应用程序,确保应用程序上下文路径配置为根路径 "/". 使用说明 系统使用方法: 4.打开系统后,进入登录页面进行身份验证。 5.在左侧菜单中选择相应功能,如添加住客、查看房间列表等操作。 部分页面截图 6.登录页 7.首页 8.添加住客 9.房间列表显示 以上是对该酒店后台管理系统的简要介绍和使用说明。系统设计简洁明了,适合酒店管理人员快速有效地管理相关信息。如有任何建议或意见,请随时联系我们。
epoll实现简单聊天程序
epoll实现简单聊天程序, 终端输入接收cli端数据,c 和c++ 实现ser c实现cli,c++方式支持多个客户端
Xshell5 终端软件下载安装
Xshell 5是一款功能强大且使用便捷的安全终端仿真软件,专为Windows平台设计。它支持SSH1、SSH2协议以及Microsoft Windows平台的TELNET协议,允许用户通过互联网安全地连接到远程主机,进行高效的管理和通信。Xshell 5凭借其创新性的设计和丰富的功能,成为IT运维人员和系统管理员在复杂网络环境中不可或缺的工具。 使用教程 新建会话:打开Xshell 5,点击“文件”-“新建会话”,输入远程服务器的IP地址和端口号,选择会话类型(如SSH),并输入用户名和密码,点击“连接”即可建立远程连接。 会话管理:Xshell 5提供会话管理器,允许用户轻松创建、编辑和启动多个会话。用户还可以定义会话属性,如终端类型、字符编码等。 串口通信:除了网络连接外,Xshell 5还支持串口通信。用户可以通过“新建”-“串口”选项配置串口参数(如波特率、数据位等),建立与串口设备的连接。
微信小程序实例+资料.zip
这是当时网课学习的实践项目,里面包含了小程序相关资料和代码,希望对学习前端、测试的朋友有一些帮忙
微信小程序实例+资料.zip 微信小程序实例+资料.zip 微信小程序实例+资料.zip