mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-10-29 08:05:04 +08:00
@@ -28,7 +28,7 @@ public class Error {
|
|||||||
public static final Object OK = new Object();
|
public static final Object OK = new Object();
|
||||||
public static final Error PARAMETER_REQUIRED = new Error(-1);
|
public static final Error PARAMETER_REQUIRED = new Error(-1);
|
||||||
public static final Error ILLEGAL_PARAMETER = new Error(-2);
|
public static final Error ILLEGAL_PARAMETER = new Error(-2);
|
||||||
// public static final Error REQUEST_FAILED = new Error(-3); REMOVED
|
// public static final Error REQUEST_FAILED = new Error(-3); REMOVED
|
||||||
public static final Error LENGTH_LIMIT_EXCEEDED = new Error(-4);
|
public static final Error LENGTH_LIMIT_EXCEEDED = new Error(-4);
|
||||||
public static final Error INVALID_PARAMETER = new Error(-5);
|
public static final Error INVALID_PARAMETER = new Error(-5);
|
||||||
public static final Error USER_NOT_FOUND = new Error(-11);
|
public static final Error USER_NOT_FOUND = new Error(-11);
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ import java.util.regex.Matcher;
|
|||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated limited time only
|
|
||||||
* @author Sola {@literal <dev@sola.love>}
|
* @author Sola {@literal <dev@sola.love>}
|
||||||
|
* @deprecated limited time only
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public class SignHandler implements WxMpMessageHandler {
|
public class SignHandler implements WxMpMessageHandler {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ public class EncryptTest {
|
|||||||
assert "Encrypt".equals(RSAUtil.decrypt(RSAUtil.encrypt("Encrypt")));
|
assert "Encrypt".equals(RSAUtil.decrypt(RSAUtil.encrypt("Encrypt")));
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Test
|
// @Test
|
||||||
public void testRSASpecKey() throws NoSuchAlgorithmException, InvalidKeySpecException {
|
public void testRSASpecKey() throws NoSuchAlgorithmException, InvalidKeySpecException {
|
||||||
System.out.println("RSAUtil.privateKey_s = " + RSAUtil.privateKey_s);
|
System.out.println("RSAUtil.privateKey_s = " + RSAUtil.privateKey_s);
|
||||||
System.out.println("RSAUtil.publicKey_s = " + RSAUtil.publicKey_s);
|
System.out.println("RSAUtil.publicKey_s = " + RSAUtil.publicKey_s);
|
||||||
|
|||||||
Reference in New Issue
Block a user