bug fixed
This commit is contained in:
parent
1e2d7d1bec
commit
6e612381af
|
@ -441,8 +441,8 @@ export class UpdateMemberBankWithdrawRequest extends jspb.Message {
|
||||||
getAccountNumber(): string;
|
getAccountNumber(): string;
|
||||||
setAccountNumber(value: string): void;
|
setAccountNumber(value: string): void;
|
||||||
|
|
||||||
getDouble(): number;
|
getAmount(): number;
|
||||||
setDouble(value: number): void;
|
setAmount(value: number): void;
|
||||||
|
|
||||||
getPassword(): string;
|
getPassword(): string;
|
||||||
setPassword(value: string): void;
|
setPassword(value: string): void;
|
||||||
|
@ -479,7 +479,7 @@ export namespace UpdateMemberBankWithdrawRequest {
|
||||||
bankName: string;
|
bankName: string;
|
||||||
name: string;
|
name: string;
|
||||||
accountNumber: string;
|
accountNumber: string;
|
||||||
pb_double: number;
|
amount: number;
|
||||||
password: string;
|
password: string;
|
||||||
memo: string;
|
memo: string;
|
||||||
};
|
};
|
||||||
|
|
|
@ -3091,7 +3091,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
bankName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
bankName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
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, ""),
|
password: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||||
memo: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
memo: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
||||||
};
|
};
|
||||||
|
@ -3151,8 +3151,8 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.dese
|
||||||
msg.setAccountNumber(value);
|
msg.setAccountNumber(value);
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
var value = /** @type {number} */ (reader.readUint32());
|
var value = /** @type {number} */ (reader.readDouble());
|
||||||
msg.setDouble(value);
|
msg.setAmount(value);
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
var value = /** @type {string} */ (reader.readString());
|
var value = /** @type {string} */ (reader.readString());
|
||||||
|
@ -3210,9 +3210,9 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.seri
|
||||||
if (f.length > 0) {
|
if (f.length > 0) {
|
||||||
writer.writeString(4, f);
|
writer.writeString(4, f);
|
||||||
}
|
}
|
||||||
f = message.getDouble();
|
f = message.getAmount();
|
||||||
if (f !== 0) {
|
if (f !== 0.0) {
|
||||||
writer.writeUint32(5, f);
|
writer.writeDouble(5, f);
|
||||||
}
|
}
|
||||||
f = message.getPassword();
|
f = message.getPassword();
|
||||||
if (f.length > 0) {
|
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}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getDouble =
|
proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getAmount =
|
||||||
function () {
|
function () {
|
||||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
return /** @type {number} */ (
|
||||||
|
jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0)
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {number} value
|
* @param {number} value
|
||||||
* @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest} returns this
|
* @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) {
|
function (value) {
|
||||||
return jspb.Message.setProto3IntField(this, 5, value);
|
return jspb.Message.setProto3FloatField(this, 5, value);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user