上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: #Redis安装步骤 ##1.官方下载Redis包 URL: https://redis.io/download ##2.上传安装包到服务器,减压安装包 例如:tar -zxvf redis-6.0.8.tar.gz ##3.在服务器安装gcc编译环境 命令:yum install gcc-c++ 阅读全文
posted @ 2020-10-13 17:29 A小小高 阅读(935) 评论(0) 推荐(0) 编辑
摘要: 解决方法步骤 1.firewall-cmd --zone=public --add-port=80/tcp --permanent 命令含义: –zone #作用域 –add-port=80/tcp #添加端口,格式为:端口/通讯协议 –permanent #永久生效,没有此参数重启后失效 2.重启 阅读全文
posted @ 2020-09-29 15:58 A小小高 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 代码如下: 1.TestItemBizService 和 TestOrderBizService 这两个类是真实业务逻辑处理 /** * * @Author:xuliangliang * @Description:模拟订单业务逻辑处理 * @Date 2020/8/28 */ @Service pu 阅读全文
posted @ 2020-09-09 18:09 A小小高 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 解决办法: 一、本地修改没有 commit 1.希望保存本地改动并拉下最新服务器代码,手动merge 1).保留服务器上的修改 git stash -- 将当前的Git栈信息打印出来 git stash list stash@{0} 就是刚才保存的标记 2).暂存了本地修改之后,pull 远端代码 阅读全文
posted @ 2020-01-02 09:49 A小小高 阅读(737) 评论(0) 推荐(0) 编辑
摘要: /** * 用于对Object进行解析并且转换成Map键值对的形式 * */ public class ObjectUtils { private static final String JAVAP = "java."; private static final String JAVADATESTR = "java.util.Date"; /** * 获取利用反射获取类里面的值和名称 * * @p 阅读全文
posted @ 2019-11-19 14:31 A小小高 阅读(4952) 评论(0) 推荐(0) 编辑
摘要: package com.xll.code.jdk1_8study; import com.xll.code.jdk1_8study.pojo.User; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; import org.springframework. 阅读全文
posted @ 2019-11-08 18:52 A小小高 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 1.依赖注入注解: @Component:Bean注入到Spring容器组件(通用) @Repository:标记该类为Dao数据访问层 @Service:标记该类为Service业务逻辑层 @Controller:标记该类为Controller控制访问层 @Configuration:标记该类为配 阅读全文
posted @ 2019-07-14 23:41 A小小高 阅读(380) 评论(0) 推荐(0) 编辑
摘要: package org.springframework.security.crypto.bcrypt; /** * 状态模式测试 */ public interface State { /** * 添加硬币 */ void insertCoin(); /** * 退出硬币 */ void returnCoin();... 阅读全文
posted @ 2019-06-11 13:43 A小小高 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-05-04 16:56 A小小高 阅读(2206) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-05-04 16:55 A小小高 阅读(124) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页