mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-20 18:47:38 +08:00
#1060 修复微信卡券签名问题
This commit is contained in:
@@ -6,12 +6,14 @@ import org.apache.commons.lang3.StringUtils;
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* Created by Daniel Qian on 14/10/19.
|
||||
*
|
||||
* @author Daniel Qian
|
||||
* @date 14/10/19
|
||||
*/
|
||||
public class SHA1 {
|
||||
|
||||
/**
|
||||
* 串接arr参数,生成sha1 digest
|
||||
* 串接arr参数,生成sha1 digest.
|
||||
*/
|
||||
public static String gen(String... arr) {
|
||||
if (StringUtils.isAnyEmpty(arr)) {
|
||||
@@ -27,7 +29,7 @@ public class SHA1 {
|
||||
}
|
||||
|
||||
/**
|
||||
* 用&串接arr参数,生成sha1 digest
|
||||
* 用&串接arr参数,生成sha1 digest.
|
||||
*/
|
||||
public static String genWithAmple(String... arr) {
|
||||
if (StringUtils.isAnyEmpty(arr)) {
|
||||
|
Reference in New Issue
Block a user