This commit is contained in:
56
src/types/api/agentDistributionRegistration.ts
Normal file
56
src/types/api/agentDistributionRegistration.ts
Normal file
@@ -0,0 +1,56 @@
|
||||
/** 后台代理注册申请管理类型 */
|
||||
|
||||
export interface AgentDistributionRegistrationQueryParams {
|
||||
page?: number
|
||||
page_size?: number
|
||||
status?: 0 | 1 | 2
|
||||
start_time?: string
|
||||
end_time?: string
|
||||
decided_start_time?: string
|
||||
decided_end_time?: string
|
||||
phone?: string
|
||||
keyword?: string
|
||||
parent_shop_id?: number
|
||||
submission_anomaly?: boolean
|
||||
}
|
||||
|
||||
export interface AgentDistributionRegistrationItem {
|
||||
id: number
|
||||
status: number
|
||||
status_name?: string | null
|
||||
approval_status?: number | null
|
||||
approval_status_name?: string | null
|
||||
submission_status?: number | null
|
||||
submission_status_name?: string | null
|
||||
recoverable?: boolean
|
||||
failure_summary?: string | null
|
||||
last_recovery_at?: string | null
|
||||
approval_instance_id?: number | null
|
||||
phone: string
|
||||
username: string
|
||||
shop_name: string
|
||||
shop_code: string
|
||||
contact_name?: string | null
|
||||
province?: string | null
|
||||
city?: string | null
|
||||
district?: string | null
|
||||
address?: string | null
|
||||
distribution_code?: string | null
|
||||
parent_shop_id?: number | null
|
||||
parent_shop_name?: string | null
|
||||
reject_reason?: string | null
|
||||
created_at: string
|
||||
decided_at?: string | null
|
||||
}
|
||||
|
||||
export interface AgentDistributionRegistrationPageResult {
|
||||
items: AgentDistributionRegistrationItem[]
|
||||
page: number
|
||||
size: number
|
||||
total: number
|
||||
}
|
||||
|
||||
export interface RecoverAgentDistributionRegistrationResponse {
|
||||
id: number
|
||||
message?: string
|
||||
}
|
||||
@@ -75,6 +75,7 @@ export * from './asset'
|
||||
|
||||
// 代理充值相关
|
||||
export * from './agentRecharge'
|
||||
export * from './agentDistributionRegistration'
|
||||
|
||||
// 支付设置相关
|
||||
export * from './paymentSettings'
|
||||
|
||||
Reference in New Issue
Block a user