2022年3月10日

mysql 时间处理

摘要: mysql MySQL 获得当前日期时间 函数 获得当前日期+时间(date + time)函数:now() 获得当前日期+时间(date + time)函数:sysdate() sysdate() 日期时间函数跟 now() 类似,不同之处在于:now() 在执行开始时值就得到了, sysdate 阅读全文

posted @ 2022-03-10 15:08 何苦-> 阅读(155) 评论(0) 推荐(0)

PHP时间处理总结

摘要: php 时间函数 获取0-3个月的时间戳 $now = time(); strtotime("+0 year +3 month +0 day"); strtotime("-0 year -1 month -0 day"); php获取三个月前的时间戳: strtotime("-0 year -3 m 阅读全文

posted @ 2022-03-10 15:07 何苦-> 阅读(229) 评论(0) 推荐(0)

2022年3月5日

http status 状态码

摘要: Status-Code Reason-Phrase 备注 Informational 1xx 信息 100 Continue 继续 101 Switching Protocols 交换协议 Successful 2xx 成功 200 OK OK 201 Created 创建 202 Accepted 阅读全文

posted @ 2022-03-05 11:26 何苦-> 阅读(47) 评论(0) 推荐(0)

2022年2月1日

日志输出 logback 使用

摘要: 概览 Logback 主要由三个模块组成 logback-core 是其它模块的基础设施,其它模块基于它构建,显然,logback-core 提供了一些关键的通用机制 logback-classic 地位和作用等同于 Log4J,它也被认为是 Log4J 的一个改进版,并且它实现了简单日志门面 SL 阅读全文

posted @ 2022-02-01 17:31 何苦-> 阅读(319) 评论(0) 推荐(0)

log4j.properties

摘要: ### set log levels ### log4j.rootLogger = debug , stdout , D , E ### 输出到控制台 ### log4j.appender.stdout = org.apache.log4j.ConsoleAppender log4j.appende 阅读全文

posted @ 2022-02-01 17:31 何苦-> 阅读(27) 评论(0) 推荐(0)

application-druid.yml

摘要: spring: datasource: # 数据源基本配置 username: root password: 123456 driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://localhost:3306/ssm_crud type: 阅读全文

posted @ 2022-02-01 17:28 何苦-> 阅读(496) 评论(0) 推荐(0)

linux 常用命令备忘

摘要: linux的文件系统是采用层级式的树状目录结构 / root,存放root用户的相关文件 home,存放普通用户的相关文件 bin,存放常用命令的目录,如vi,su sbin,要具有一定权限才可以使用命令 mnt,默认挂载光驱和软驱的目录 etc,存放配置的相关文件 var,存放经常变化的文件,如网 阅读全文

posted @ 2022-02-01 14:07 何苦-> 阅读(36) 评论(0) 推荐(0)

2022年1月17日

php 使用soap 生成WSDL

摘要: Student.php <?php /** * 学生类 */ class Student { // 学生姓名 private static $name = "小名"; // 学生年龄 private static $age = 18; /** * 获取姓名 */ public function ge 阅读全文

posted @ 2022-01-17 22:44 何苦-> 阅读(246) 评论(0) 推荐(0)

2022年1月9日

mule esb 配置maven

摘要: 已安装AnypointStudio 已在本地安装AnypointStudio 安装社区版 Help > Install New Software> Mule ESB Server Runtime 3.9.0 CE Maven Tools for Mule工具安装 Help > Install New 阅读全文

posted @ 2022-01-09 15:18 何苦-> 阅读(552) 评论(0) 推荐(0)

2021年12月23日

php实现kafka功能开发

摘要: linux 安装librdkafka https://github.com/edenhill/librdkafka yum install librdkafka-devel linux 安装php uuid扩展 参考perl安装篇 /www/server/php/72/bin/pecl instal 阅读全文

posted @ 2021-12-23 17:12 何苦-> 阅读(213) 评论(0) 推荐(0)

导航