Documentation ¶
Index ¶
- type AuditInvoiceDetailReq
- type BankCardRegisterReq
- type CreateCompanyReq
- type CreateEmployeeReq
- type CreateInvoiceDetailReq
- type CreateInvoiceReq
- type CreateTeamReq
- type DecrementReq
- type DeleteBankCardReq
- type DeleteEmployeeReq
- type DeleteInvoiceByIdReq
- type DeleteTeamReq
- type GetAccountBalanceReq
- type GetAccountBillsReq
- type GetAccountDetailByAccountIdReq
- type GetAccountDetailReq
- type GetAccountsReq
- type GetBankCardsReq
- type GetCompanyByIdReq
- type GetCompanyDetailReq
- type GetCompanyReq
- type GetEmployeeByIdReq
- type GetEmployeeDetailByIdReq
- type GetEmployeeListByRoleIdReq
- type GetEmployeeListByTeamIdReq
- type GetInvoicesReq
- type GetProfileReq
- type GetTeamByIdReq
- type GetTeamInviteCodeReq
- type GetTeamsReq
- type HasCompanyByNameReq
- type HasEmployeeByNameReq
- type HasEmployeeByNoReq
- type HasTeamByNameReq
- type IncrementReq
- type JoinTeamByInviteCodeReq
- type MakeInvoiceDetailReq
- type QueryBankCardListReq
- type QueryCompanyListReq
- type QueryEmployeeListReq
- type QueryInvoiceDetailListReq
- type QueryInvoiceReq
- type QueryTeamListByEmployeeReq
- type QueryTeamListReq
- type SetAccountAllowExceedReq
- type SetAvatarReq
- type SetCompanyStateReq
- type SetEmployeeRolesReq
- type SetEmployeeStateReq
- type SetMobileReq
- type SetTeamCaptainReq
- type SetTeamMemberReq
- type SetTeamOwnerReq
- type UpdateAccountIsEnabledReq
- type UpdateAccountLimitStateReq
- type UpdateAccountReq
- type UpdateCompanyReq
- type UpdateEmployeeReq
- type UpdateTeamReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditInvoiceDetailReq ¶ added in v0.1.112
type AuditInvoiceDetailReq struct { InvoiceDetailId int64 `json:"invoiceDetailId" v:"required|max-length:64#请输入发票详情id|id最大支持64个字符" dc:"发票详情id" ` AuditInfo co_model.FdInvoiceAuditInfo }
type BankCardRegisterReq ¶ added in v0.1.112
type BankCardRegisterReq struct {
co_model.BankCardRegister
}
type CreateCompanyReq ¶
type CreateEmployeeReq ¶
type CreateInvoiceDetailReq ¶ added in v0.1.112
type CreateInvoiceDetailReq struct {
co_model.FdInvoiceDetailRegister
}
type CreateInvoiceReq ¶ added in v0.1.112
type CreateInvoiceReq struct {
co_model.FdInvoiceRegister
}
type CreateTeamReq ¶
type DecrementReq ¶ added in v0.3.12
type DecrementReq struct { AccountId int64 `json:"accountId" dc:"财务账号id"` Amount int `json:"amount" dc:"支出金额"` }
TODO 这两个接口只是用于测试,后续需要去除
type DeleteBankCardReq ¶ added in v0.1.112
type DeleteBankCardReq struct {
BankCardId int64 `json:"bankCardId" dc:"银行卡ID"`
}
type DeleteEmployeeReq ¶
type DeleteEmployeeReq struct {
Id int64 `json:"id" v:"required#ID校验失败" dc:"员工ID"`
}
type DeleteInvoiceByIdReq ¶ added in v0.1.112
type DeleteInvoiceByIdReq struct {
InvoiceId int64 `json:"invoiceId" dc:"发票抬头ID"`
}
type DeleteTeamReq ¶
type DeleteTeamReq struct {
Id int64 `json:"id" v:"required#团队ID校验失败" dc:"团队或小组ID"`
}
type GetAccountBalanceReq ¶ added in v0.1.112
type GetAccountBalanceReq struct {
AccountId int64 `json:"accountId" dc:"财务账号id"`
}
type GetAccountBillsReq ¶ added in v0.4.7
type GetAccountBillsReq struct {
base_model.Pagination
}
type GetAccountDetailByAccountIdReq ¶ added in v0.3.12
type GetAccountDetailByAccountIdReq struct {
AccountId int64 `json:"accountId" dc:"财务账号id"`
}
type GetAccountDetailReq ¶ added in v0.3.12
type GetAccountDetailReq struct {
AccountId int64 `json:"accountId" dc:"财务账号id"`
}
type GetAccountsReq ¶ added in v0.4.7
type GetAccountsReq struct{}
type GetBankCardsReq ¶ added in v0.4.7
type GetBankCardsReq struct{}
type GetCompanyByIdReq ¶
type GetCompanyByIdReq struct {
Id int64 `json:"id" v:"required#ID校验失败" dc:"组织单位ID"`
}
type GetCompanyDetailReq ¶
type GetCompanyDetailReq struct {
Id int64 `json:"id" v:"required#ID校验失败" dc:"组织单位ID"`
}
type GetCompanyReq ¶
type GetCompanyReq struct{}
type GetEmployeeByIdReq ¶
type GetEmployeeByIdReq struct {
Id int64 `json:"id" v:"required#ID校验失败" dc:"员工ID"`
}
type GetEmployeeDetailByIdReq ¶
type GetEmployeeDetailByIdReq struct {
Id int64 `json:"id" v:"required#ID校验失败" dc:"员工ID"`
}
type GetEmployeeListByRoleIdReq ¶
type GetEmployeeListByRoleIdReq struct {
Id int64 `json:"id" v:"required#ID校验失败" dc:"角色ID"`
}
type GetEmployeeListByTeamIdReq ¶ added in v0.5.18
type GetEmployeeListByTeamIdReq struct {
TeamId int64 `json:"teamId" v:"required#团队ID校验失败" dc:"团队或小组ID"`
}
type GetInvoicesReq ¶ added in v0.4.7
type GetInvoicesReq struct{}
type GetProfileReq ¶
type GetProfileReq struct{}
type GetTeamByIdReq ¶
type GetTeamByIdReq struct {
Id int64 `json:"id" v:"required#团队ID校验失败" dc:"团队或小组ID"`
}
type GetTeamInviteCodeReq ¶ added in v0.6.10
type GetTeamInviteCodeReq struct {
TeamId int64 `json:"teamId" v:"required#团队ID校验失败" dc:"团队或小组ID"`
}
type GetTeamsReq ¶
type GetTeamsReq struct{}
type HasCompanyByNameReq ¶
type HasCompanyByNameReq struct {
Name string `json:"name" v:"required#名称不能为空" dc:"名称"`
}
type HasEmployeeByNameReq ¶
type HasEmployeeByNoReq ¶
type HasTeamByNameReq ¶
type IncrementReq ¶ added in v0.3.12
type IncrementReq struct { AccountId int64 `json:"accountId" dc:"财务账号id"` Amount int `json:"amount" dc:"收入金额"` }
TODO 这两个接口只是用于测试,后续需要去除
type JoinTeamByInviteCodeReq ¶ added in v0.6.10
type JoinTeamByInviteCodeReq struct {
InviteCode string `json:"inviteCode" dc:"邀请码" v:"required#邀请码不能为空"`
}
type MakeInvoiceDetailReq ¶ added in v0.1.112
type MakeInvoiceDetailReq struct { InvoiceDetailId int64 `json:"invoiceDetailId" v:"required|max-length:64#请输入发票详情id|id最大支持64个字符" dc:"发票详情id"` co_model.FdMakeInvoiceDetail }
type QueryBankCardListReq ¶ added in v0.1.112
type QueryBankCardListReq struct { UserId int64 `json:"userId" dc:"用户ID"` base_model.SearchParams }
type QueryCompanyListReq ¶
type QueryCompanyListReq struct {
base_model.SearchParams
}
type QueryEmployeeListReq ¶
type QueryEmployeeListReq struct {
base_model.SearchParams
}
type QueryInvoiceDetailListReq ¶ added in v0.1.112
type QueryInvoiceDetailListReq struct { UnionMainId int64 `json:"unionMainId" dc:"主体ID"` UserId int64 `json:"userId" dc:"用户ID"` base_model.SearchParams }
type QueryInvoiceReq ¶ added in v0.1.112
type QueryInvoiceReq struct { UserId int64 `json:"userId" dc:"用户ID"` base_model.SearchParams }
type QueryTeamListReq ¶
type QueryTeamListReq struct {
base_model.SearchParams
}
type SetAccountAllowExceedReq ¶ added in v0.6.30
type SetAvatarReq ¶
type SetAvatarReq struct {
ImageId int64 `json:"imageId" dc:"头像ID"`
}
type SetCompanyStateReq ¶ added in v0.5.21
type SetEmployeeRolesReq ¶ added in v0.4.3
type SetEmployeeStateReq ¶ added in v0.4.3
type SetMobileReq ¶
type SetTeamCaptainReq ¶
type SetTeamMemberReq ¶
type SetTeamOwnerReq ¶
type UpdateAccountIsEnabledReq ¶ added in v0.3.12
type UpdateAccountLimitStateReq ¶ added in v0.3.12
type UpdateAccountReq ¶ added in v0.4.7
type UpdateAccountReq struct { AccountId int64 `json:"accountId" dc:"具体需要修改的财务账号id" v:"required#财务账号id不能为空"` co_model.UpdateAccount }
type UpdateCompanyReq ¶
type UpdateEmployeeReq ¶
type UpdateEmployeeReq struct {
co_model.UpdateEmployee
}
type UpdateTeamReq ¶
Click to show internal directories.
Click to hide internal directories.