bug fixed

This commit is contained in:
병준 박 2022-08-30 08:35:39 +00:00
parent 8bfc595d63
commit 9dba95a7be
2 changed files with 16 additions and 14 deletions

View File

@ -441,8 +441,8 @@ export class UpdateMemberBankWithdrawRequest extends jspb.Message {
getAccountNumber(): string;
setAccountNumber(value: string): void;
getDouble(): number;
setDouble(value: number): void;
getAmount(): number;
setAmount(value: number): void;
getPassword(): string;
setPassword(value: string): void;
@ -479,7 +479,7 @@ export namespace UpdateMemberBankWithdrawRequest {
bankName: string;
name: string;
accountNumber: string;
pb_double: number;
amount: number;
password: string;
memo: string;
};

View File

@ -3091,7 +3091,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
bankName: jspb.Message.getFieldWithDefault(msg, 2, ""),
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
pb_double: jspb.Message.getFieldWithDefault(msg, 5, 0),
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
password: jspb.Message.getFieldWithDefault(msg, 6, ""),
memo: jspb.Message.getFieldWithDefault(msg, 7, ""),
};
@ -3151,8 +3151,8 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.dese
msg.setAccountNumber(value);
break;
case 5:
var value = /** @type {number} */ (reader.readUint32());
msg.setDouble(value);
var value = /** @type {number} */ (reader.readDouble());
msg.setAmount(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
@ -3210,9 +3210,9 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.seri
if (f.length > 0) {
writer.writeString(4, f);
}
f = message.getDouble();
if (f !== 0) {
writer.writeUint32(5, f);
f = message.getAmount();
if (f !== 0.0) {
writer.writeDouble(5, f);
}
f = message.getPassword();
if (f.length > 0) {
@ -3305,21 +3305,23 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prot
};
/**
* optional uint32 double = 5;
* optional double amount = 5;
* @return {number}
*/
proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getDouble =
proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getAmount =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0)
);
};
/**
* @param {number} value
* @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setDouble =
proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setAmount =
function (value) {
return jspb.Message.setProto3IntField(this, 5, value);
return jspb.Message.setProto3FloatField(this, 5, value);
};
/**