Commit 198e58b0 authored by 技术部-任文超's avatar 技术部-任文超

junit

parent c629cc5a
......@@ -4,6 +4,8 @@ import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import cn.quantgroup.xyqb.Constants;
import cn.quantgroup.xyqb.util.AESUtil;
import lombok.extern.slf4j.Slf4j;
import org.junit.Assert;
import org.junit.Test;
......@@ -30,4 +32,11 @@ public class TestJdk8 {
assert true;
}
@Test
public void wechatContent() {
String userId = String.valueOf(20598404);
String content = AESUtil.encryptAndBase64Encode(userId, Constants.AES_KEY);
log.info("20598404:{}", content);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment