提交修改
This commit is contained in:
parent
b23bb5b4ed
commit
f0e7b633b5
@ -37,7 +37,7 @@ public class DeCommand extends BaseCommand<Tuple> implements ICommand<Tuple>{
|
|||||||
@Override
|
@Override
|
||||||
public R process(Tuple tuple) throws Exception {
|
public R process(Tuple tuple) throws Exception {
|
||||||
String online = "RiZUH6CU9JK7x5LVou9d8Q1";
|
String online = "RiZUH6CU9JK7x5LVou9d8Q1";
|
||||||
String de = PAesUtil.decrypt(tokens[1], online);
|
String de = PAesUtil.decrypt(tokens[1].trim(), online);
|
||||||
log.info("de data :" + de);
|
log.info("de data :" + de);
|
||||||
return R.ok(250, de);
|
return R.ok(250, de);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -41,7 +41,7 @@ public class EnCommand extends BaseCommand<Tuple> implements ICommand<Tuple>{
|
|||||||
@Override
|
@Override
|
||||||
public R process(Tuple tuple) throws Exception {
|
public R process(Tuple tuple) throws Exception {
|
||||||
String online = "RiZUH6CU9JK7x5LVou9d8Q1";
|
String online = "RiZUH6CU9JK7x5LVou9d8Q1";
|
||||||
String de = PAesUtil.encrypt(tokens[1], online);
|
String de = PAesUtil.encrypt(tokens[1].trim(), online);
|
||||||
log.info("de data :" + de);
|
log.info("de data :" + de);
|
||||||
return R.ok(250, de);
|
return R.ok(250, de);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -37,7 +37,7 @@ public class TDeCommand extends BaseCommand<Tuple> implements ICommand<Tuple>{
|
|||||||
@Override
|
@Override
|
||||||
public R process(Tuple tuple) throws Exception {
|
public R process(Tuple tuple) throws Exception {
|
||||||
String test = "123456";
|
String test = "123456";
|
||||||
String de = PAesUtil.decrypt(tokens[1], test);
|
String de = PAesUtil.decrypt(tokens[1].trim(), test);
|
||||||
log.info("de data :" + de);
|
log.info("de data :" + de);
|
||||||
return R.ok(250, de);
|
return R.ok(250, de);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -37,7 +37,7 @@ public class TEnCommand extends BaseCommand<Tuple> implements ICommand<Tuple>{
|
|||||||
@Override
|
@Override
|
||||||
public R process(Tuple tuple) throws Exception {
|
public R process(Tuple tuple) throws Exception {
|
||||||
String online = "123456";
|
String online = "123456";
|
||||||
String de = PAesUtil.encrypt(tokens[1], online);
|
String de = PAesUtil.encrypt(tokens[1].trim(), online);
|
||||||
log.info("ten data :" + de);
|
log.info("ten data :" + de);
|
||||||
return R.ok(250, de);
|
return R.ok(250, de);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user