|
@@ -183,6 +183,7 @@ function parseSoleProtoRsp(rspPackage: any, funCodeName: string): ParseRsp {
|
|
|
isErrer(rspPackage, funCodeName);
|
|
isErrer(rspPackage, funCodeName);
|
|
|
const reqPackage = ProtobufCtr.generateProtoContent(funCodeName, rspPackage.content);
|
|
const reqPackage = ProtobufCtr.generateProtoContent(funCodeName, rspPackage.content);
|
|
|
const { RetCode, Status, RetDesc } = reqPackage;
|
|
const { RetCode, Status, RetDesc } = reqPackage;
|
|
|
|
|
+ console.warn(`解析${funCodeName}对应的报文错误:RetCode: ${RetCode}: RetDesc${RetDesc}`)
|
|
|
if (RetCode !== null) {
|
|
if (RetCode !== null) {
|
|
|
if (RetCode === 0) {
|
|
if (RetCode === 0) {
|
|
|
return { isSuccess: true, result: reqPackage };
|
|
return { isSuccess: true, result: reqPackage };
|