Commit 140e1167 authored by Administrator's avatar Administrator

开发提测

parent 7bcafcf7
......@@ -31,7 +31,7 @@ import java.util.Set;
@RestController
public class ExceptionHandlingController implements IBaseController {
private static final JsonResult EXCEPTION_RESULT = new JsonResult("internal error", (long) HttpStatus.INTERNAL_SERVER_ERROR.value(), null);
private static final JsonResult EXCEPTION_RESULT = new JsonResult("服务出错。", (long) HttpStatus.INTERNAL_SERVER_ERROR.value(), null);
/**
* 密码错误次数达到上限异常
......
......@@ -2,17 +2,23 @@ import cn.quantgroup.xyqb.security.RSADecrypt;
import cn.quantgroup.xyqb.util.PasswordUtil;
import org.springframework.util.Base64Utils;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
/**
* Created by Administrator on 2021/6/25 0025.
*/
public class TestApp {
public static void main(String[] args){
public static void main(String[] args) throws UnsupportedEncodingException {
base64();
password();
}
public static void base64(){
public static void base64() throws UnsupportedEncodingException {
System.out.println(URLDecoder.decode("%F0%A3%87%88","utf-8"));
String s = new String(Base64Utils.encode(("CM:" +
"WwC-l6t179UtaYPtS02fQeEhh57xXewoUCX7W8N9Izf58Js60yMFSDTq5Oj7nTgg22YjEVSu2WW1m4Q-1tr0u_8Qup886TxKROKb03ujaTt2C69f0DYdRfUEHyLydRsQ3GZEYGINuupf6xJYh493KBmDvpzaDOXSxnZVg0q4jDXrs5g7w-Aucq61JTjHEqCOUcT-4u0YsJIBnYG8QY65RiqZGXd17FmSbWoBM5eKaLr7I2HrdEI2a7p_rimVcqiR4vbq2LQSxTKzOfoIOwDUUhwXKJ0Z_XoAN47tdaRi32qB3jPo_z7UPj71lXpIvtT-6CDzKAh1UKgprxR-LQNpq_ngBSBo-n1KVe9mx-5Ywg0="
+"").getBytes()));
......
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