zyb88325
码龄16年
关注
提问 私信
  • 博客:39,310
    社区:885
    40,195
    总访问量
  • 27
    原创
  • 1,320,295
    排名
  • 3
    粉丝
  • 0
    铁粉

个人简介:5年PHP/java开发经验,熟练掌握js/css/html前端技术,熟练使用mysql及优化,熟练掌握使用缓存及队列技术。熟练使用Linux操作系统及shell脚本语言。丰富的系统构架、调优、高并发项目经验。

IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:四川省
  • 加入CSDN时间: 2008-07-10
博客简介:

zyb88325的专栏

查看详细资料
个人成就
  • 获得3次点赞
  • 内容获得11次评论
  • 获得13次收藏
创作历程
  • 1篇
    2022年
  • 1篇
    2021年
  • 2篇
    2020年
  • 7篇
    2019年
  • 6篇
    2018年
  • 7篇
    2017年
  • 3篇
    2016年
  • 6篇
    2015年
成就勋章
TA的专栏
  • java
    3篇
  • php
    2篇
  • lumen
    2篇
  • 邮件服务
  • Swoole
    1篇
兴趣领域 设置
  • 后端
    架构
创作活动更多

如何做好一份技术文档?

无论你是技术大神还是初涉此领域的新手,都欢迎分享你的宝贵经验、独到见解与创新方法,为技术传播之路点亮明灯!

357人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

StringBuffer与StringBuilder实现原理

StringBuffer与StringBuilder实现原理
原创
发布博客 2022.06.21 ·
228 阅读 ·
0 点赞 ·
2 评论 ·
0 收藏

记录PHP7访问sqlserver2005报错问题

[20-Jul-2021 13:19:03] WARNING: [pool www] child 12809 exited on signal 11 (SIGSEGV) after 12.358597 seconds from start[20-Jul-2021 13:19:03] NOTICE: [pool www] child 13294 started问题记录:Nginx提示502,查看fpm只提示一个警告,没有任何错误信息。开始以为是fpm超时了,设置为永久不超时后问题依旧。排查1:.
原创
发布博客 2021.07.20 ·
465 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

一个elasticsearch支持多套运行环境(spring elasticsearch data 4)

ps:因服务器资源有限,不能部署多套elasticsearch,同时也保证了环境的一致性(可能都遇到过环境不一样,运行结果也不一样,乱七八糟的bug出现),本项目基于spring boot2+之前支持spring elasticsearch data 3,现在升级4后实现方法有很大不同。解决办法:采用前缀prefix区分环境,如:dev_ test_1、首先定义实体类:@Document(indexName = "area_zqcrm", type = "_doc")@Data@J..
原创
发布博客 2020.05.28 ·
903 阅读 ·
0 点赞 ·
1 评论 ·
0 收藏

spring-boot-starter-data-elasticsearch驼峰转下划线

@Document(indexName = "platform1005_member_data")@Data@JsonIgnorePropertiespublic class Member { @Id @JsonProperty("member_id") private int memberId; @JsonProperty("company_id") ...
原创
发布博客 2020.01.02 ·
3216 阅读 ·
0 点赞 ·
3 评论 ·
0 收藏

php cas单点登录核心代码无session

基于cas标准抽取精简而来,不需要session。登录状态自行控制,如jwt/token/cookie/session。这样就可以在Swoole中使用cas了。使用方法:第一步、composer 拉取包 sayid/php-cas-core第二步:$cas = new \PhpCasCore\Cas(env("CAS_SERVER"), env("CAS_PATH")); ...
原创
发布博客 2019.11.15 ·
478 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

java-spring boot在jar包中封装bean

1、编写bean类@Component@Scope(value = WebApplicationContext.SCOPE_REQUEST,proxyMode= ScopedProxyMode.TARGET_CLASS)public class CeAuth {} 注意:scope注释该bean仅在当前http生命周期内有效2、配置要注册到spring的bean在res...
原创
发布博客 2019.10.11 ·
423 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

lumen框架pdo返回数组格式

lumen5.5(5.4?忘了),默认返回的数据格式是对象不再返回数组形式,config/database.php中设置了也没用。1、新建一个EventServiceProvider.php文件class EventServiceProvider extends ServiceProvider { /** * The event listener mappings for t...
原创
发布博客 2019.05.22 ·
380 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

lumen框架实例化mysql pdo对象

$databaseConfig = config("database.connections.mysql");try { //底层已经做了重连机制 $pdo = (new ConnectionFactory(app()))->createConnector($databaseConfig)->connect($databaseConfig); return ...
原创
发布博客 2019.05.22 ·
440 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

java/php微服务架构(php服务端)

一、服务端:项目服务使用lumen5.8+Swoole作为运行环境,.env配置文件中需要定义每个服务端服务id,方便调试和做特殊的逻辑处理如:SERVICE_ID=100011、composer中引入"cecd/thrift": "dev-master"并执行composer update2、创建启动脚本<?phpnamespace Cecd\Sdk...
原创
发布博客 2019.05.21 ·
1876 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

微服务架构(java/php)

背景说明:我们公司使用PHP7.3/Swoole + java/spring boot作为技术栈,服务间通信使用thrift做了二次封装,本套技术方案从设想到落地均由本人推进开发1、php技术栈:框架为lumen5.82、java技术栈:spring boot2.1.3 mybatis fastjson 公共配置中心config3、rpc协议:thrift 0.124、网关 k...
原创
发布博客 2019.05.21 ·
1849 阅读 ·
1 点赞 ·
0 评论 ·
7 收藏

laravel/lumen复写mysql pdo连接器

$databaseConfig = config("database.connections.mysql");$pdo = (new ConnectionFactory(app()))-&gt;createConnector($databaseConfig)-&gt;connect($databaseConfig);//设置查询数据方式为数组Event::listen ( Stateme...
原创
发布博客 2019.01.10 ·
476 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

php7.1新特性汇总

Core:Added nullable types. Added DFA optimization framework based on e-SSA form. Added specialized opcode handlers (e.g. ZEND_ADD_LONG_NO_OVERFLOW). Added [] = as alternative construct to list() ...
原创
发布博客 2018.12.18 ·
554 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

php7.1新特性汇总

Core:Added nullable types. Added DFA optimization framework based on e-SSA form. Added specialized opcode handlers (e.g. ZEND_ADD_LONG_NO_OVERFLOW). Added [] = as alternative construct to list() ...
原创
发布博客 2018.12.18 ·
554 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

php7.2新特性汇总

Core:Added ZEND_COUNT, ZEND_GET_CLASS, ZEND_GET_CALLED_CLASS, ZEND_GET_TYPE, ZEND_FUNC_NUM_ARGS, ZEND_FUNC_GET_ARGS instructions, to implement corresponding builtin functions. "Countable" interface...
原创
发布博客 2018.12.18 ·
724 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

php7.0新特性汇总

Core:Added zend_internal_function.reserved[] fields. Improved __call() and __callStatic() magic method handling. Now they are called in a stackless way using ZEND_CALL_TRAMPOLINE opcode, without ad...
原创
发布博客 2018.12.12 ·
307 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

php7.0新特性汇总

Core:Added zend_internal_function.reserved[] fields. Improved __call() and __callStatic() magic method handling. Now they are called in a stackless way using ZEND_CALL_TRAMPOLINE opcode, without ad...
原创
发布博客 2018.12.12 ·
307 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

php7.3新特性汇总

Core:Improved PHP GC.  提升php的垃圾回收机制 Redesigned the old ext_skel program written in PHP, run: 'php ext_skel.php' for all options. This means there are no dependencies, thus making it work on Windows...
原创
发布博客 2018.12.12 ·
1396 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

升级mojave之后xcrun: error: invalid active developer path

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun解决方案:进入https://developer.apple.com/download/mo...
原创
发布博客 2018.11.05 ·
274 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

php使用基于Swoole(socket)做imap客户端

1、坑点qq邮箱的文件夹是带空格的,直接select文件夹会提示参数错误。解决方法:select "sent messages"
原创
发布博客 2018.06.28 ·
508 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

linux git服务器搭建,多用户协作

1、安装git2、创建用户user add -M username #-M不会在home目录下创建用户目录user add -M username1user add -M username22、创建用户组gitgroupadd git #创建git用户组,方便统一管理权限4、将用户加入用户组usermod -G 组名称 用户名称1
原创
发布博客 2017.08.26 ·
4871 阅读 ·
0 点赞 ·
5 评论 ·
9 收藏
加载更多