作者:J'KYO www.cnblogs.com/pejsidney/p/9046818.html 假设我们已经搭建好了一个基于Spring Boot项目,首先我们要在Application中设置启用定时任务功能@EnableScheduling。 启动定时任务 package com.schedu ...
分类:
编程语言 时间:
2020-06-09 14:35:28
阅读次数:
69
一、HTML <form> 标签的 enctype 属性 1、application/x-www-form-urlencoded 在发送前编码所有字符(默认) 2、multipart/form-data 不对字符编码。在使用包含文件上传控件的表单时,必须使用该值。 3、text/plain 空格转换 ...
分类:
其他好文 时间:
2020-06-09 14:25:29
阅读次数:
56
1. vue add style-resources-loader 2. const path = require("path");//这一段需要自行添加 module.exports = { pluginOptions: { 'style-resources-loader': { preProce ...
分类:
其他好文 时间:
2020-06-08 23:25:26
阅读次数:
63
无框架使用流获取参数: private String getXmlString(HttpServletRequest request) { BufferedReader reader = null; String line = ""; String xmlString = null; try { r ...
分类:
移动开发 时间:
2020-06-08 19:16:38
阅读次数:
85
1、目录结构 Application属性文件,按优先级排序,位置高的将覆盖位置 当前项目目录下的一个/config子目录 当前项目目录 项目的resources即一个classpath下的/config包 项目的resources即classpath根路径(root) 二、读取顺序 如果在不同的目录 ...
分类:
编程语言 时间:
2020-06-08 19:15:47
阅读次数:
90
运行bee run之后出现的错误以及解决方法 创建一个beego项目 bee new myapp 在该项目执行下面的代码 bee run 出现的问题 2020/04/22 21:12:07 INFO ? 0001 Using 'myapp' as 'appname' 2020/04/22 21:12 ...
分类:
移动开发 时间:
2020-06-08 15:03:59
阅读次数:
424
示例: 监听一下对象 formCode 中 属性 application 的变化: <script> export default{ data(){ return{ formCode:{ application:"", oldcode:"", newcode:"" } } } } </script> ...
分类:
其他好文 时间:
2020-06-08 14:47:36
阅读次数:
433
API:Application Programming Interface -- 应用程序编程接口SDK:Software Development Kit -- 软件开发工具包MFC:Microsoft Foundations Classes -- 微软基础类API:应用程序编程接口 应用程序接口为 ...
分类:
编程语言 时间:
2020-06-08 13:01:40
阅读次数:
85
springBoot项目打jar包后,配置文件(application.properties)封装于jar包中,修改起来不方便,可以使用其他的办法。spring boot给了几个读取配置文件的位置,我们可以通过这个方式去从jar包外部修改配置文件。启动jar包时,springBoot会按照以下顺序去 ...
分类:
编程语言 时间:
2020-06-08 10:40:28
阅读次数:
200
1. $.ajax()方法:发送Ajax请求 $.ajax({ type: 'get', url: 'http://www.example.com', data: { name: 'zhangsan', age: '20' }, contentType: 'application/x-www-for ...
分类:
Web程序 时间:
2020-06-08 00:28:55
阅读次数:
72