摘要: 1、显示数据库 1 SHOW DATABASES; 默认数据库: mysql - 用户权限相关数据 test - 用于用户测试数据 information_schema - MySQL本身架构相关数据 2、创建数据库 1 2 3 4 5 # utf-8 CREATE DATABASE 数据库名称 D 阅读全文
posted @ 2020-02-24 14:59 李建彬 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 获取Access Token示例 https://openapi.baidu.com/oauth/2.0/authorize?response_type=token&client_id=L6g70tBRRIXLsY0Z3HwKqlRE&redirect_uri=oob&scope=netdisk 阅读全文
posted @ 2019-12-21 09:52 李建彬 阅读(3923) 评论(0) 推荐(1) 编辑
摘要: 下载 https://github.com/kohsuke/winsw/releases 下的这个文件 WinSW.NET4.exe 放在Nginx的安装目录下,并且将其重命名为 nginx-service.exe 在该目录下新建 nginx-service.xml 文件,写入配置信息,配置好了之后 阅读全文
posted @ 2019-10-25 08:35 李建彬 阅读(9861) 评论(3) 推荐(3) 编辑
摘要: #user nobody;worker_processes 1; #error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info; #pid logs/nginx.pid; event 阅读全文
posted @ 2019-10-23 16:07 李建彬 阅读(689) 评论(0) 推荐(0) 编辑
摘要: #user nobody;worker_processes 1; #error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info; #pid logs/nginx.pid; event 阅读全文
posted @ 2019-10-23 08:11 李建彬 阅读(7481) 评论(0) 推荐(0) 编辑
摘要: 1.比较运算符 gt:great than(大于)>ge:great equal(大于等于)>=eq:equal(等于)==lt:less than(小于)<le:less equal(小于等于)<=ne:not equal(不等于)!=2.网页应用 <td class="td-status" th 阅读全文
posted @ 2019-10-10 12:57 李建彬 阅读(15236) 评论(0) 推荐(0) 编辑
摘要: th:each属性用于迭代循环,语法:th:each="obj,iterStat:${objList}" 迭代对象可以是Java.util.List,java.util.Map,数组等; iterStat称作状态变量,属性有: index:当前迭代对象的index(从0开始计算) count: 当前 阅读全文
posted @ 2019-10-09 10:47 李建彬 阅读(860) 评论(0) 推荐(0) 编辑
摘要: Thymeleaf 关键字功能介绍案例 th:id 替换id <input th:id="'xxx' + ${collect.id}"/> th:text 文本替换 <p th:text="${collect.description}">description</p> th:utext 支持html 阅读全文
posted @ 2019-10-09 10:30 李建彬 阅读(934) 评论(0) 推荐(0) 编辑
摘要: 配置文件在application.properties中进行配置 web.upload-path=d:/myfile/uploadweb.front-path=d:/myfile/frontspring.resources.static-locations=file:${web.upload-pat 阅读全文
posted @ 2019-09-27 11:42 李建彬 阅读(1961) 评论(1) 推荐(0) 编辑
摘要: 1、打包jar, mvn clean package 2、上传到服务器(需要java环境)命令运行 java -jar ***-1.0.0.jar 阅读全文
posted @ 2019-09-27 11:36 李建彬 阅读(196) 评论(0) 推荐(0) 编辑