上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 在软件的安装目录的bin文件下打开命令行工具 输入: psql -d 数据库名称 -h 数据库地址 -p 5432 -U postgres -f sql文件(E:\Config\SQL\iSmartCapDb.sql) 阅读全文
posted @ 2019-05-15 19:37 快速奔跑的大米粒 阅读(2283) 评论(0) 推荐(0) 编辑
摘要: nginx卸载其实很简单,只需要两步即可完成!第一步:输入以下指令全局查找nginx相关的文件: sudo find / -name nginx* 第二步:删除查找出来的所有nginx相关文件 sudo rm -rf file 此处跟查找出来的nginx文件 说明:全局查找往往会查出很多相关文件,但 阅读全文
posted @ 2019-05-15 12:20 快速奔跑的大米粒 阅读(1866) 评论(0) 推荐(0) 编辑
摘要: /** * 全局异常处理器 **/ @ControllerAdvice public class GlobalExceptionHandler { @ExceptionHandler(Exception.class) @ResponseBody public Map handlerException(Exception exception){ Map... 阅读全文
posted @ 2019-05-14 15:23 快速奔跑的大米粒 阅读(337) 评论(0) 推荐(0) 编辑
摘要: /** * 自定义拦截器 **/ @Configuration//声明这是一个拦截器 public class MyInterceptor extends WebMvcConfigurerAdapter { @Override public void addInterceptors(InterceptorRegistry registry) { Handler... 阅读全文
posted @ 2019-05-14 15:09 快速奔跑的大米粒 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 我们知道在mybatis的映射中传参数,只能传入一个。通过#{参数名} 即可获取传入的值。 Mapper接口文件: public int delete(int id) throws Exception;1MapperL配置文件: <delete id="delete" parameterType=" 阅读全文
posted @ 2019-05-14 11:07 快速奔跑的大米粒 阅读(763) 评论(0) 推荐(0) 编辑
摘要: 一、下载windows版本的Redis 去官网找了很久,发现原来在官网上可以下载的windows版本的,现在官网以及没有下载地址,只能在github上下载,官网只提供linux版本的下载 官网下载地址:http://redis.io/download github下载地址:https://githu 阅读全文
posted @ 2019-05-14 09:58 快速奔跑的大米粒 阅读(241) 评论(0) 推荐(0) 编辑
摘要: import com.patient.core.adapter.CorsFilter; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBoo... 阅读全文
posted @ 2019-05-07 17:03 快速奔跑的大米粒 阅读(1433) 评论(1) 推荐(0) 编辑
摘要: //创建网易云通信ID public Netease getNeteaseToken(UserPatient userPraientNew) throws Exception { DefaultHttpClient httpClient = new DefaultHttpClient(); String url = "https://api.net... 阅读全文
posted @ 2019-05-07 16:52 快速奔跑的大米粒 阅读(1973) 评论(0) 推荐(0) 编辑
摘要: import java.security.MessageDigest; /** * 网易云信 校验类 * User: NinetyOne * Date: 2019/3/15 * Time: 11:33 * To change this template use File | Setting | File Template. **/ public class CheckSumBuil... 阅读全文
posted @ 2019-05-07 16:48 快速奔跑的大米粒 阅读(848) 评论(0) 推荐(0) 编辑
摘要: SELECT *FROM 表面WHERE DATE_SUB( NOW( ), INTERVAL 3 MINUTE ) <= CONVERT_TZ( 时间字段, @@SESSION.time_zone, '-8:00' ) 阅读全文
posted @ 2019-05-06 17:34 快速奔跑的大米粒 阅读(557) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页