上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 24 下一页
摘要: func wrapCtx(handler func(ctx *gin.Context)) gin.HandlerFunc { return func(c *gin.Context) { //获取请求的url log.Info("当前请求url:%s", c.Request.RequestURI) t 阅读全文
posted @ 2019-04-13 10:23 wujf 阅读(772) 评论(0) 推荐(0) 编辑
摘要: 需求: 记录所有请求的json数据 此方法即可打印所有请求的body内容,但是在对应的处理器上就取不到数据 解决办法: 阅读全文
posted @ 2019-04-12 19:01 wujf 阅读(13177) 评论(0) 推荐(0) 编辑
摘要: 导包 加载log4go 写日志 java折腾久了,日志框架还是喜欢这个 阅读全文
posted @ 2019-04-12 14:46 wujf 阅读(867) 评论(0) 推荐(0) 编辑
摘要: func getCurrentPath() string { _, filename, _, ok := runtime.Caller(1) var cwdPath string if ok { cwdPath = path.Join(path.Dir(filename), "") // the the main function file directo... 阅读全文
posted @ 2019-04-12 14:42 wujf 阅读(1339) 评论(0) 推荐(0) 编辑
摘要: mybatis-generator-lombok-plugin下载地址 https://github.com/GuoGuiRong/mybatis-generator-lombok-plugin,下载完执行mvn install 阅读全文
posted @ 2019-04-11 13:52 wujf 阅读(5134) 评论(0) 推荐(0) 编辑
摘要: package com.qmtt.config; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import ... 阅读全文
posted @ 2019-04-11 11:25 wujf 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 通过apt-get安装rar后,执行rar命令会有如下坑: rar: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_typ 阅读全文
posted @ 2019-04-11 10:50 wujf 阅读(1031) 评论(0) 推荐(1) 编辑
摘要: apt-get update:更新安装列表apt-get upgrade:升级软件apt-get install software_name :安装软件apt-get --purge remove software_name :卸载软件及其配置apt-get autoremove software_ 阅读全文
posted @ 2019-04-11 10:47 wujf 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 模型名称: 图谱: ... 阅读全文
posted @ 2019-04-10 14:56 wujf 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 备注: ${server_name}可以换成$host 阅读全文
posted @ 2019-04-10 11:12 wujf 阅读(768) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 24 下一页