|
@@ -169,7 +169,6 @@ public class UserVipController extends BaseController {
|
|
|
|
|
|
private String getSign(Long userId, Date subject1, Date subject2, Date subject3, Date subject4) throws Exception {
|
|
|
String str = userId + "";
|
|
|
- // System.out.println(userId);
|
|
|
|
|
|
if (subject1 != null) {
|
|
|
str += subject1.getTime() + "";
|
|
@@ -183,7 +182,6 @@ public class UserVipController extends BaseController {
|
|
|
if (subject4 != null) {
|
|
|
str += subject4.getTime() + "";
|
|
|
}
|
|
|
- System.out.println("str:" + str);
|
|
|
// 进行签名服务
|
|
|
Signature signature = Signature.getInstance("SHA256withRSA");
|
|
|
KeyFactory kf = KeyFactory.getInstance("RSA");
|
|
@@ -197,7 +195,6 @@ public class UserVipController extends BaseController {
|
|
|
|
|
|
private String getSignInt(Long userId, Date subject1, Date subject2, Date subject3, Date subject4, Integer subject1Int, Integer subject2Int, Integer subject3Int, Integer subject4Int) throws Exception {
|
|
|
String str = userId + "";
|
|
|
- // System.out.println(userId);
|
|
|
if (subject1 != null) {
|
|
|
str += subject1.getTime() + "";
|
|
|
}
|
|
@@ -222,7 +219,6 @@ public class UserVipController extends BaseController {
|
|
|
if (subject4Int != null) {
|
|
|
str += subject4Int + "";
|
|
|
}
|
|
|
- System.out.println("str:" + str);
|
|
|
// 进行签名服务
|
|
|
Signature signature = Signature.getInstance("SHA256withRSA");
|
|
|
KeyFactory kf = KeyFactory.getInstance("RSA");
|