Skip to content

Commit

Permalink
fix #575
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvanMo committed Nov 4, 2023
1 parent 195ffbe commit b8ac26d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ios/Classes/FluwxPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ @implementation FluwxPlugin {
const NSString *errStr = @"errStr";
const NSString *errCode = @"errCode";
const NSString *openId = @"openId";
const NSString *type = @"type";
const NSString *fluwxType = @"type";
const NSString *lang = @"lang";
const NSString *country = @"country";
const NSString *description = @"description";
Expand Down Expand Up @@ -860,7 +860,7 @@ - (void)onResp:(BaseResp *)resp {
description: messageResp.description == nil ? @"" : messageResp.description,
errStr: messageResp.errStr == nil ? @"" : messageResp.errStr,
errCode: @(messageResp.errCode),
type: @(messageResp.type),
fluwxType: @(messageResp.type),
country: messageResp.country == nil ? @"" : messageResp.country,
lang: messageResp.lang == nil ? @"" : messageResp.lang};
if(_channel != nil){
Expand All @@ -875,7 +875,7 @@ - (void)onResp:(BaseResp *)resp {
description: authResp.description == nil ? @"" : authResp.description,
errStr: authResp.errStr == nil ? @"" : authResp.errStr,
errCode: @(authResp.errCode),
type: @(authResp.type),
fluwxType: @(authResp.type),
country: authResp.country == nil ? @"" : authResp.country,
lang: authResp.lang == nil ? @"" : authResp.lang,
@"code": [FluwxStringUtil nilToEmpty:authResp.code],
Expand Down Expand Up @@ -924,7 +924,7 @@ - (void)onResp:(BaseResp *)resp {
description: chooseInvoiceResp.description == nil ? @"" : chooseInvoiceResp.description,
errStr: chooseInvoiceResp.errStr == nil ? @"" : chooseInvoiceResp.errStr,
errCode: @(chooseInvoiceResp.errCode),
type: @(chooseInvoiceResp.type),
fluwxType: @(chooseInvoiceResp.type),
@"cardItemList":cardItemList
};

Expand Down Expand Up @@ -972,7 +972,7 @@ - (void)onResp:(BaseResp *)resp {
description: miniProgramResp.description == nil ? @"" : miniProgramResp.description,
errStr: miniProgramResp.errStr == nil ? @"" : miniProgramResp.errStr,
errCode: @(miniProgramResp.errCode),
type: @(miniProgramResp.type),
fluwxType: @(miniProgramResp.type),
};

NSMutableDictionary *result = [NSMutableDictionary dictionaryWithDictionary:commonResult];
Expand All @@ -997,7 +997,7 @@ - (void)onResp:(BaseResp *)resp {
description: [FluwxStringUtil nilToEmpty:businessResp.description],
errStr: [FluwxStringUtil nilToEmpty:resp.errStr],
errCode: @(businessResp.errCode),
type: @(businessResp.type),
fluwxType: @(businessResp.type),
@"resultInfo": [FluwxStringUtil nilToEmpty:businessResp.result],
@"businessType": @(businessResp.businessType),
};
Expand All @@ -1013,7 +1013,7 @@ - (void)onResp:(BaseResp *)resp {
description: [FluwxStringUtil nilToEmpty:customerResp.description],
errStr: [FluwxStringUtil nilToEmpty:resp.errStr],
errCode: @(customerResp.errCode),
type: @(customerResp.type),
fluwxType: @(customerResp.type),
@"extMsg":[FluwxStringUtil nilToEmpty:customerResp.extMsg]
};
if(_channel != nil){
Expand All @@ -1030,7 +1030,7 @@ - (void)onResp:(BaseResp *)resp {
errStr: [FluwxStringUtil nilToEmpty:resp.errStr],
errCode: @(openBusinessViewResp.errCode),
@"businessType":openBusinessViewResp.businessType,
type: @(openBusinessViewResp.type),
fluwxType: @(openBusinessViewResp.type),
@"extMsg":[FluwxStringUtil nilToEmpty:openBusinessViewResp.extMsg]
};
if(_channel != nil){
Expand All @@ -1050,7 +1050,7 @@ - (void)onResp:(BaseResp *)resp {
description: [FluwxStringUtil nilToEmpty:payResp.description],
errStr: [FluwxStringUtil nilToEmpty:resp.errStr],
errCode: @(payResp.errCode),
type: @(payResp.type),
fluwxType: @(payResp.type),
@"extData": [FluwxStringUtil nilToEmpty:[FluwxDelegate defaultManager].extData],
@"returnKey": [FluwxStringUtil nilToEmpty:payResp.returnKey],
};
Expand Down

0 comments on commit b8ac26d

Please sign in to comment.