Commit 8b9791be authored by 黎博's avatar 黎博

兼容不传bizType的情况

parent 85da3306
......@@ -77,7 +77,10 @@ public class RuleEngineInterceptor implements HandlerInterceptor {
public Map<String, Object> handleRiskAudit(Map<String, Object> requestMap, Map<String, Object> auditData) {
Map<String, Object> bodyMap = new HashMap<>();
Map<String, Object> resultMap = new HashMap<>();
String bizType = requestMap.get("bizType").toString();
String bizType = null;
if (requestMap.containsKey("bizType")) {
bizType = requestMap.get("bizType").toString();
}
String bizChannel = requestMap.get("bizChannel").toString();
String sceneId = requestMap.get("sceneId").toString();
String uuid = requestMap.get("uuid").toString();
......
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