11 2021 档案

摘要:.conf location / { index index.html index.htm index.php; #autoindex on; if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; } } 阅读全文
posted @ 2021-11-18 10:25 子岚天羽卿怜水 阅读(138) 评论(0) 推荐(0)
摘要:示例1 项目结构 代码 controller中 UserController.java package com.example.demo1110.controller; import com.example.demo1110.entity.User; import com.example.demo1 阅读全文
posted @ 2021-11-11 11:47 子岚天羽卿怜水 阅读(476) 评论(1) 推荐(1)
摘要:springboot Entity层:实体层 数据库在项目中的类 Entity层是实体层,也就是所谓的model,也称为pojo层,是数据库在项目中的类,该文件包含实体类的属性和对应属性的set、get方法; DAO层: 持久层 主要与数据库进行交互 DAO层=mapper层,现在用Mybatis逆 阅读全文
posted @ 2021-11-10 13:49 子岚天羽卿怜水 阅读(30) 评论(0) 推荐(0)
摘要:docker gitlab gitlab镜像拉取 # gitlab-ce为稳定版本,后面不填写版本则默认pull最新latest版本 $ docker pull gitlab/gitlab-ce 运行gitlab镜像 $ docker run -d -p 443:443 -p 80:80 -p 22 阅读全文
posted @ 2021-11-10 09:43 子岚天羽卿怜水 阅读(85) 评论(0) 推荐(0)
摘要:格式化时间戳 select id,name,FROM_UNIXTIME(time,'%Y-%m-%d %H:%i:%s') as addtime from testtable where totaltime != ''; //time是时间戳字段,查出来之后是格式化的数据 ,重命名为 addtime 阅读全文
posted @ 2021-11-05 09:47 子岚天羽卿怜水 阅读(142) 评论(0) 推荐(0)
摘要:http://springboot.javaboy.org/2019/0412/springboot-init maven 创建springboot2 创建完成后,在 pom.xml 文件中,添加如下依赖: <parent> <groupId>org.springframework.boot</gr 阅读全文
posted @ 2021-11-01 10:02 子岚天羽卿怜水 阅读(49) 评论(0) 推荐(0)