上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 100 下一页
摘要: https://www.layui.com/ 阅读全文
posted @ 2020-07-24 20:47 市丸银 阅读(378) 评论(0) 推荐(0)
摘要: i18n 在resiurce下创建i18n文件夹 修改yaml文件 spring: messages: basename: i18n.login 4、修改模板 thymeleaft语法 #{login.tip} 国际化 添加语言配置 阅读全文
posted @ 2020-07-24 07:23 市丸银 阅读(186) 评论(0) 推荐(0)
摘要: 语法 // 记录器 Logger logger = LoggerFactory.getLogger(getClass()); @Test void contextLoads() { // springboot 默认开启的级别是 info logger.trace("trace"); logger.d 阅读全文
posted @ 2020-07-23 22:45 市丸银 阅读(131) 评论(0) 推荐(0)
摘要: 一、前提条件 1、导入thymeleaf <dependency> <groupId>org.thymeleaf</groupId> <artifactId>thymeleaf-spring5</artifactId> </dependency> 2、html templates文件夹中创建html 阅读全文
posted @ 2020-07-23 22:07 市丸银 阅读(425) 评论(0) 推荐(0)
摘要: https://www.jb51.net/article/152632.htm 阅读全文
posted @ 2020-07-23 15:43 市丸银 阅读(113) 评论(0) 推荐(0)
摘要: import requests _url = "http://127.0.0.1:8000/test2/" files = { "image": ("e.jpg", open(r"C:\Users\wuhao\Desktop\e.jpg", 'rb'), "image/jpeg"), } data 阅读全文
posted @ 2020-07-23 13:54 市丸银 阅读(279) 评论(0) 推荐(0)
摘要: @Test void contextLoads() { String s1 = "你好{0}, 我叫{1}"; System.out.println(MessageFormat.format(s1, "张飞", "王菲")); String s2 = "你好%s, 我叫%s"; System.out 阅读全文
posted @ 2020-07-22 22:27 市丸银 阅读(177) 评论(0) 推荐(0)
摘要: 本以为此功能已经舍弃,万万没想到需要导入包 参考下面的博客(日后有空验证) https://www.cnblogs.com/huanchupkblog/p/12915268.html 阅读全文
posted @ 2020-07-22 22:06 市丸银 阅读(186) 评论(0) 推荐(0)
摘要: 一、mybatis xml格式可以参考: https://www.cnblogs.com/wt7018/p/13333855.html xml方法 失败,求大神指导 在springboot中使用mybaits注解的方式查询 1、根据查询的字段创建实现类 package com.wt.pojo; im 阅读全文
posted @ 2020-07-22 16:18 市丸银 阅读(8424) 评论(0) 推荐(1)
摘要: 一、前提条件 1、开启热加载 2、配置mybatis-plus 见 mybatis的博客 二、路由 1、导包 <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.60</ 阅读全文
posted @ 2020-07-22 13:15 市丸银 阅读(482) 评论(0) 推荐(0)
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 100 下一页