会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
智昕
需要仿站,网站定制开发,APP开发,小程序开发,公众号等开发的可加QQ:114994783
博客园
首页
联系
管理
上一页
1
2
3
4
5
6
7
···
20
下一页
2022年3月12日
spring cloud(二)简单快速的实现负载均衡的功能
摘要: 上篇参考:Spring Cloud快速使用教程(一) 在快速搭建Spring Cloud我们如果要简单快速的使用负载均衡可以如下实现 以下是实现示例: 使用Spring Cloud快速使用教程(一)创建seaver-a模块的方法创建server-a01 在创建好的模块创建控制器: IndexA: p
阅读全文
posted @ 2022-03-12 10:55 智昕
阅读(419)
评论(0)
推荐(10)
2022年3月11日
Spring Cloud快速使用教程(一)
摘要: 在研究spring cloud,下面是快速搭建方法 我使用的是IDEA 中文汉化版,大家可自行汉化1、先创建一个工程 2、拉下来创建注册组件 同样的选择springboot工程 为eureka注册中心添加注解开启服务 配置eureka注册中心配置文件 application.yml (注意缩进) s
阅读全文
posted @ 2022-03-11 18:05 智昕
阅读(1528)
评论(0)
推荐(31)
2022年2月12日
springBoot2.*使用redis集群/单机方法
摘要: 在springboot1.x系列中,其中使用的是jedis,但是到了springboot2.x其中使用的是Lettuce。 此处springboot2.x,所以使用的是Lettuce。关于jedis跟lettuce的区别: Lettuce 和 Jedis 的定位都是Redis的client,所以他们
阅读全文
posted @ 2022-02-12 14:00 智昕
阅读(1309)
评论(0)
推荐(27)
2022年1月7日
中国大学、大学专业JSON 网络整理,仅供参考
摘要: 中国大学json var schoolList = [{ "id": 1, "school": [{ "id": 1001, "name": "清华大学" }, { "id": 1002, "name": "北京大学" }, { "id": 1003, "name": "中国人民大学" }, { "
阅读全文
posted @ 2022-01-07 11:05 智昕
阅读(816)
评论(0)
推荐(7)
2021年11月27日
linux 安装Kibana
摘要: 1、在/etc/yum.repos.d/下创建kibana.repo cd /etc/yum.repos.d/ touch kibana.repo 内容如下: [kibana-7.x] name=Kibana repository for 7.x packages baseurl=https://a
阅读全文
posted @ 2021-11-27 00:31 智昕
阅读(888)
评论(0)
推荐(19)
2021年11月26日
LINUX 安装elasticsearch RPM
摘要: 1、安装公开签名,设置环境变量 rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch ES_PATH_CONF=/path/to/my/config ./bin/elasticsearch 2、在/etc/yum.repos.
阅读全文
posted @ 2021-11-26 23:02 智昕
阅读(343)
评论(0)
推荐(4)
2019年11月19日
thinkphp5随机查询数据库数据
摘要: ThinkPHP5从V5.0.17之后,如果排序使用到SQL函数,要用orderRaw()代替order()进行排序。
阅读全文
posted @ 2019-11-19 14:08 智昕
阅读(2588)
评论(0)
推荐(4)
2019年10月9日
tp5中用find_in_set thinkphp5中find_in_set的使用方法 精确匹配,字段值以英文豆号”,”分隔查询
摘要: 最新解决方案: 对于一些实在复杂的查询,比如find_in_set,也可以直接使用原生SQL语句进行查询,例如: Db::table('think_user') ->where('find_in_set(1,sids)') ->select(); 为了安全起见,我们可以对字符串查询条件使用参数绑定,
阅读全文
posted @ 2019-10-09 14:16 智昕
阅读(18589)
评论(0)
推荐(38)
2019年8月28日
PHP 实现微信红包拆分算法
摘要: <?php /** * 红包分配算法 * * example * $coupon = new Coupon(200, 5); * $res = $coupon->handle(); * print_r($res); * * @author Flc <2018-04-06 20:09:53> * @s
阅读全文
posted @ 2019-08-28 11:41 智昕
阅读(639)
评论(0)
推荐(3)
2019年7月1日
php中 base64_decode与base64_encode加密解密函数
摘要: base64_encode是加密,而base64_decode是解密 base64_encode 语法:string base64_encode(string data); base64_decode 语法:string base64_decode(string data);
阅读全文
posted @ 2019-07-01 18:00 智昕
阅读(38579)
评论(0)
推荐(42)
上一页
1
2
3
4
5
6
7
···
20
下一页