Browse Source

v2接口临时去掉sign校验

master
nili 7 months ago
parent
commit
2109a9513d
  1. 2
      game-service/src/main/java/awesome/group/game/service/MatrixService.java

2
game-service/src/main/java/awesome/group/game/service/MatrixService.java

@ -59,7 +59,7 @@ public class MatrixService {
String str = bo.getSignStr(secret); String str = bo.getSignStr(secret);
if (!bo.sign.equalsIgnoreCase(EncryptUtil.sha1(str))) { if (!bo.sign.equalsIgnoreCase(EncryptUtil.sha1(str))) {
L.trace("signError", "sign:" + bo.sign + ",str:" + str + ",secret:" + secret); L.trace("signError", "sign:" + bo.sign + ",str:" + str + ",secret:" + secret);
return; // return;
} }
saveRecord(bo, ip); saveRecord(bo, ip);
} }

Loading…
Cancel
Save