摘要: 在使用swagger 的时候 ,加完注解 运行后发现,有很多加了注解的没有显示,debug 也有返回数据 ,最终发现,有一个方法中有个参数 是Boolean 类型, 但是这个 参数 我没有添加 @ApiImplicitParam,导致后面加载的所有方法都失败, 在添加注解后api正常生成。 阅读全文
posted @ 2020-09-07 09:15 菜鸟也想飞上天 阅读(3772) 评论(0) 推荐(0) 编辑
摘要: INSERT INTO `tb_score` VALUES ('1', '001', '语文', '90'); INSERT INTO `tb_score` VALUES ('2', '001', '数学', '92'); INSERT INTO `tb_score` VALUES ('3', '0 阅读全文
posted @ 2019-11-01 16:15 菜鸟也想飞上天 阅读(4410) 评论(0) 推荐(2) 编辑
摘要: 例:已知ip 16.158.165.91/22子网掩码 根据22 得知子网掩码占22位 即:11111111.11111111.11111100.00000000 == 255.255.252.0网络地址=ip地址and子网掩码即:16.158.165.91=00010000.10011110.‭1 阅读全文
posted @ 2019-10-08 16:33 菜鸟也想飞上天 阅读(1961) 评论(0) 推荐(0) 编辑
摘要: 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE generatorConfiguration 3 PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" 4 " 阅读全文
posted @ 2019-09-20 09:25 菜鸟也想飞上天 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/qq_41345773/article/details/93895532 aconst_null 将null对象引用压入栈iconst_m1 将int类型常量-1压入栈iconst_0 将int类型常量0压入栈iconst_1 将int类型常量1 阅读全文
posted @ 2019-08-27 11:53 菜鸟也想飞上天 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-08-26 16:23 菜鸟也想飞上天 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 1 关闭防火墙 service iptables stop 2 启动防火墙 service iptables start 3 重启防火墙 service iptables restart 4 查看防火墙状态--service iptables status 5 永久关闭防火墙--chkconfig 阅读全文
posted @ 2019-07-19 15:39 菜鸟也想飞上天 阅读(165) 评论(0) 推荐(0) 编辑
摘要: import java.io.*;import java.util.Enumeration;import java.util.Properties;//关于Properties类常用的操作public class TestProperties { //根据Key读取Value public stat 阅读全文
posted @ 2019-07-19 14:52 菜鸟也想飞上天 阅读(226) 评论(0) 推荐(0) 编辑
摘要: <a href="./export.pdf" id="pdfdown" download="文件名.pdf">下载</a>// 需要将 jq 对象 转换为原生 dom 对象 $('#pdfdown')[0].click(); //或者 直接获取domdocument.getElementById(‘ 阅读全文
posted @ 2019-07-05 09:17 菜鸟也想飞上天 阅读(6010) 评论(0) 推荐(1) 编辑
摘要: var fs = require('fs');var pdf = require('html-pdf');//模块//读取html 文件 var html = fs.readFileSync('./static.html', 'utf8'); // 创建pdfvar options = { form 阅读全文
posted @ 2019-07-03 21:47 菜鸟也想飞上天 阅读(260) 评论(0) 推荐(0) 编辑