今天遇到一个非常棘手的问题,线上报错,看代码怎么都没问题,接口出参正确,代码逻辑正确。但是偏偏报错
代码结构
接口出参:
这。。。没问题啊,从content中获取dictionaryDtoMap,再看下dictionaryDtoMap中是否有wechatMerchantTypeItems && businessScopeItems && agvVolumeByDayItems;
最终不信邪,本地跑了一下,真的拿不到dictionaryDtoMap的值;问题出在这一句:
const dictionaryDtoMap = get(res,