bug fixed

This commit is contained in:
병준 박 2022-08-12 06:17:33 +00:00
parent 56c0211617
commit 9883277af3
4 changed files with 21 additions and 13 deletions

View File

@ -1,6 +1,3 @@
use crate::protobuf::pagination;
use crate::protobuf::rpc;
const SUBJECT: &str = "bet.beteran.c2se.backend.account";
pub const SUBJECT_LIST_BANKS: &str = const_format::concatcp!(SUBJECT, ".ListBanks");

View File

@ -1,6 +1,5 @@
use crate::protobuf::rpc;
use crate::protobuf::pagination;
use crate::models::account;
const SUBJECT: &str = "bet.beteran.c2se.common.bank";
@ -28,6 +27,8 @@ pub struct CreateBankResponse {
}
/// Nested message and enum types in `CreateBankResponse`.
pub mod create_bank_response {
use crate::models::account;
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag="1")]
@ -63,6 +64,8 @@ pub struct ListBanksResponse {
}
/// Nested message and enum types in `ListBanksResponse`.
pub mod list_banks_response {
use crate::models::account;
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag="1")]
@ -96,6 +99,8 @@ pub struct UpdateBankResponse {
}
/// Nested message and enum types in `UpdateBankResponse`.
pub mod update_bank_response {
use crate::models::account;
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag="1")]

View File

@ -1,4 +1,5 @@
pub mod core;
pub mod account;
pub mod domain;
pub mod member;
pub mod rbac;

View File

@ -1,6 +1,5 @@
use crate::protobuf::rpc;
use crate::protobuf::pagination;
use crate::models::account;
use crate::models::core;
const SUBJECT: &str = "bet.beteran.ss.account.bank";
@ -29,10 +28,12 @@ pub struct CreateBankResponse {
}
/// Nested message and enum types in `CreateBankResponse`.
pub mod create_bank_response {
use crate::models::account;
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag="1")]
pub bank: ::core::option::Option<super::super::super::super::account::Bank>,
pub bank: ::core::option::Option<account::Bank>,
}
}
@ -66,10 +67,12 @@ pub struct ListBanksResponse {
}
/// Nested message and enum types in `ListBanksResponse`.
pub mod list_banks_response {
use crate::models::account;
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag="1")]
pub banks: ::prost::alloc::vec::Vec<super::super::super::super::account::Bank>,
pub banks: ::prost::alloc::vec::Vec<account::Bank>,
}
}
@ -99,10 +102,12 @@ pub struct UpdateBankResponse {
}
/// Nested message and enum types in `UpdateBankResponse`.
pub mod update_bank_response {
use crate::models::account;
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag="1")]
pub bank: ::core::option::Option<super::super::super::super::account::Bank>,
pub bank: ::core::option::Option<account::Bank>,
}
}