自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (1)
  • 收藏
  • 关注

原创 解析微信的 apiclient_cert.p12

/API证书apiclient_cert.p12的classpath路径,一般我们会放在resources路径下,当然你可以修 改获取证书输入流的方式。附件中的三份文件(证书pkcs12格式、证书pem格式、证书密钥pem格式),为接口中强制要求时需携带的证书文件。部分开发语言和环境,不能直接使用p12文件,而需要使用pem,所以为了方便您使用,已为您直接提供。部分开发语言和环境,不能直接使用p12文件,而需要使用pem,所以为了方便您使用,已为您直接提供。//base64解码,获取真正信息。

2023-12-06 14:41:19 610

原创 springboot 引入sentiner报错

The Bean Validation API is on the classpath but no implementation could be found

2022-07-26 15:32:34 964 3

原创 SpringBoot 显示Swagger Api 文档

1. 配置pom文件,在pom文件中引入Swagger的相关依赖:<!-- swagger --><dependency> <groupId>com.github.xiaoymin</groupId> <artifactId>swagger-bootstrap-ui</artifactId> <version>1.9.3</version></dependency&..

2020-08-20 11:30:47 412

原创 ionic 打 android 出现 Current working directory is not a Cordova-based project.

在使用cordova build --release android 命令打包的时候出现: Current working directory is not a Cordova-based project.解决的方法:新建www文件夹,具体详情:https://github.com/ionic-team/ionic-cli/issues/935...

2019-08-20 20:08:50 6952

原创 java后端发送邮件信息

package com.cn.service.util;import com.alibaba.fastjson.JSON;import com.smarthome.service.dto.sendEmail.EmailAuthenticator;import com.smarthome.service.dto.sendEmail.EmailSendInfo;import org.apa...

2019-05-21 19:00:28 999

原创 springBoot 定时任务执行一段时间后失效

问题描述:springBoot 定时任务执行一段时间后失效,定时任务调用http过一段时间后什么异常也没有原因:http请求僵死,导致线程也不往下执行,最终导致后面的定时任务也不执行;解决方法:在http请求中设置超时时间;设置主机连接时间: httpRequest.setConnectTimeout(30*1000);从主机读取数据超:httpRequest.setR...

2019-05-21 14:58:31 8530

原创 Linux Let's Encrypt生成免费证书

1、下载certbot客户端,授权wget https://dl.eff.org/certbot-autochmod a+x certbot-auto2.停止nginx sudo nginx -s stop3、生成证书 ./certbot-auto certonly --standalon --email '邮箱' -d '域名'出现问题1:...

2019-05-21 14:23:43 1982 1

原创 SpringBoot  启动出现Cannot determine embedded database driver class for database type NONE

刚创建的SpringBoot 启动出现CannotdetermineembeddeddatabasedriverclassfordatabasetypeNONE 实例化失败没有找到数据源解决方法:在application中加 @EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.clas...

2019-05-21 11:42:42 151

原创 Alexa Echo智能家居接入

1.Smart Home skill的创建1.1 注册Amazon开发者账号亚马逊开发人员服务;1.2 创建Skill 输入skill名称,选择smart home1.3 技能信息填写1.4 Account Linking授权url1.5 Permissions2.Lambda函数的创建(托管你的代码)2.1 ...

2019-05-21 11:26:16 2342

原创 弹出遮罩层

弹出登录框body {margin: 0px;padding:0}#div1 { width:100%;  height:100%;  background-color:#000;  filter:alpha(opacity=50);  -moz-opacity:0.5;  opacity:0.5;  position:absolute;

2016-12-07 16:29:28 201

简单清新的登陆页面

简单清新的登陆html页面,适用于app,网站,有喜欢的可以下载;

2019-05-22

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除