Commit 1bbe726b by danmo

fix

1 parent 957c9c64
......@@ -154,7 +154,9 @@ public class FinanceUtils {
log.info("解析数据:------------" + jsonDataStr);
JSONObject realJsonData = JSONObject.parseObject(jsonDataStr);
String msgType = realJsonData.getString("msgtype");
getSwitchType(realJsonData, msgType);
if (StringUtils.isNotEmpty(msgType)){
getSwitchType(realJsonData, msgType);
}
return realJsonData;
} catch (Exception e) {
log.error("解析密文失败");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!