上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 68 下一页
  2023年3月13日
摘要: //需求1:当天的日期且时间在9~24点之间的开始时间 LocalDateTime nowTime= LocalDateTime.now(); int year = nowTime.getYear(); int month = nowTime.getMonthValue(); int day = n 阅读全文
posted @ 2023-03-13 15:58 oktokeep 阅读(715) 评论(3) 推荐(1)
  2023年2月27日
摘要: 微信退费报错:No appropriate protocol (protocol is disabled or cipher suites are inappropr) javax.net.ssl.SSLHandshakeException: No appropriate protocol (pro 阅读全文
posted @ 2023-02-27 10:11 oktokeep 阅读(3207) 评论(1) 推荐(0)
  2023年2月20日
摘要: http://coolaf.com/在线访问及格式化json工具谷歌浏览器json插件不是很好实现。安装,替代方案 阅读全文
posted @ 2023-02-20 09:56 oktokeep 阅读(588) 评论(0) 推荐(0)
  2023年2月17日
摘要: from util import str_util #业务逻辑:兼容不同的结构体:resCode转化数据 #检查字典中是否存在键 if 'resCode' not in resultJson if 'resCode' not in resultJson: if 'returnCode' in res 阅读全文
posted @ 2023-02-17 12:07 oktokeep 阅读(292) 评论(0) 推荐(0)
摘要: 车牌号隐藏中间位数及城市去掉末尾的字符处理 package com.example.core.mydemo; /** * 车牌号隐藏中间位数及城市去掉末尾的字符处理 *carPlateNum=牌A***89 *市:上海 */ public class StringTest { public stat 阅读全文
posted @ 2023-02-17 12:06 oktokeep 阅读(145) 评论(0) 推荐(0)
  2023年2月13日
摘要: gson TypeAdapter 和FieldNamingStrategy,SerializedName实现属性名称的设置别名 package com.example.core.mydemo.TypeAdapter; import com.google.gson.FieldNamingStrateg 阅读全文
posted @ 2023-02-13 13:21 oktokeep 阅读(101) 评论(1) 推荐(0)
摘要: gson属性disableHtmlEscaping对等于号的转义\u003d,注解符号Expose,SerializedName,Since和Until package com.example.core.mydemo; import com.alibaba.fastjson.JSON; import 阅读全文
posted @ 2023-02-13 13:21 oktokeep 阅读(520) 评论(0) 推荐(0)
  2023年2月9日
摘要: JSONObject.parseObject syntax error,expect START WITH { OR [,but actually START WITH error解析JSON出现异常(JSON返回结果) 请求的url格式错误:正确的:https://服务的IP:端口 /接口名称 ? 阅读全文
posted @ 2023-02-09 11:37 oktokeep 阅读(4320) 评论(0) 推荐(0)
  2023年2月3日
摘要: 父类与子类的继承测试方法 如果父类有值,直接输出父类属性,否则打印输出继承中子类的属性值 package com.example.core.mydemo.extendtest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; publ 阅读全文
posted @ 2023-02-03 18:28 oktokeep 阅读(136) 评论(0) 推荐(0)
  2023年2月2日
摘要: mysql高级函数FIND_IN_SET,ENUM和SET,LOCATE,ELT,FIELD,INTERVAL,COUNT,CAST,NULLIF,ISNULL,IFNULL,IF,CONVERT,COALESCE # FIND_IN_SET FIND_IN_SET(needle,haystack) 阅读全文
posted @ 2023-02-02 17:04 oktokeep 阅读(250) 评论(0) 推荐(0)
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 68 下一页