Browse Source

加个trace日志

master
nili 6 months ago
parent
commit
5547ecdf38
  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

@ -5,6 +5,7 @@ import awesome.group.game.dao.bean.MatrixApp;
import awesome.group.game.dao.mapper.MatrixAdvRecordMapper;
import awesome.group.game.dao.mapper.MatrixAppMapper;
import awesome.group.game.service.bo.MatrixAdvRecordEditBo;
import awesome.group.game.service.common.log.L;
import awesome.group.game.service.util.EncryptUtil;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
@ -57,6 +58,7 @@ public class MatrixService {
String secret = app.getSecret();
String str = bo.getSignStr(secret);
if (!bo.sign.equalsIgnoreCase(EncryptUtil.sha1(str))) {
L.trace("signError", "sign:" + bo.sign + ",str:" + str + ",secret:" + secret);
return;
}
saveRecord(bo, ip);

Loading…
Cancel
Save