摘要: JAVA部分代码: import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySp 阅读全文
posted @ 2020-11-30 16:46 皓贤 阅读(245) 评论(0) 推荐(0) 编辑
摘要: java部分代码: String encBusiData = DataSecurityUtil.encrypt(jsonString.getBytes("UTF-8"), configABS.getValue("jks_key")); public static String encrypt(byt 阅读全文
posted @ 2020-11-30 16:31 皓贤 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 不用理会该报错,如果想修复需要使用jdk8; 阅读全文
posted @ 2020-06-03 15:25 皓贤 阅读(2823) 评论(0) 推荐(0) 编辑
摘要: 获取ant 打包的返回的code,然后根据code来处理逻辑 cd $PROJECT_PATH/ && ant -buildfile jenkins_build.xml war antReturnCode=$? echo "ANT: Return code is: \""$antReturnCode 阅读全文
posted @ 2020-05-29 11:44 皓贤 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 1, 阅读全文
posted @ 2019-03-28 22:45 皓贤 阅读(663) 评论(0) 推荐(0) 编辑
摘要: def self.get_express_route_test url = 'http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService' xml = "<Request service='RouteService' lang='zh-CN'>< 阅读全文
posted @ 2018-09-07 16:59 皓贤 阅读(2108) 评论(0) 推荐(0) 编辑
摘要: require 'digest/md5' str = 'daskdjsajdkljasd' md5_str = Digest::MD5.digest(str) 阅读全文
posted @ 2018-09-07 16:58 皓贤 阅读(1152) 评论(0) 推荐(0) 编辑
摘要: 处理h5 在新版本的Chrome和safari中的拖动问题 iphone 微信,谷歌说明地址:https://developers.google.com/web/updates/2017/01/scrolling-intervention 为了不修改过多代码,针对已经上线的业务,采用如下方式解决: 阅读全文
posted @ 2018-04-09 12:32 皓贤 阅读(218) 评论(0) 推荐(0) 编辑
摘要: def aes_encrypt() cipher = OpenSSL::Cipher::AES.new(128, :CBC) cipher.encrypt cipher.key = "quck7295abvdefgh" data= 'sssssdsadkjak' cipher.iv = "abcde 阅读全文
posted @ 2018-03-20 11:38 皓贤 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 移动端对background-attachment: fixed支持的不好,但可以采用如下方式来处理。 body:before { content: ' '; z-index: -1; top: 0; right: 0; bottom: 0; left: 0; background: url(pat 阅读全文
posted @ 2018-03-19 12:57 皓贤 阅读(481) 评论(0) 推荐(0) 编辑