This commit is contained in:
@@ -24,9 +24,8 @@ export interface PaginationParams {
|
||||
export interface PaginationData<T> {
|
||||
items: T[] // 数据列表
|
||||
total: number // 总数
|
||||
page_size: number // 每页数量
|
||||
size: number // 每页数量
|
||||
page: number // 当前页
|
||||
total_pages: number // 总页数
|
||||
}
|
||||
|
||||
// 分页响应
|
||||
|
||||
@@ -39,7 +39,7 @@ export interface EnterpriseDevicePageResult {
|
||||
* 授权设备请求参数
|
||||
*/
|
||||
export interface AllocateDevicesRequest {
|
||||
virtual_nos: string[] | null // 虚拟号列表(最多100个,原 device_nos)
|
||||
device_nos: string[] | null // 设备号列表(最多100个)
|
||||
remark?: string // 授权备注
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ export interface AllocateDevicesResponse {
|
||||
* 撤销设备授权请求参数
|
||||
*/
|
||||
export interface RecallDevicesRequest {
|
||||
virtual_nos: string[] | null // 虚拟号列表(最多100个,原 device_nos)
|
||||
device_nos: string[] | null // 设备号列表(最多100个)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
// 支付渠道类型
|
||||
export type PaymentProviderType = 'wechat' | 'fuiou'
|
||||
export type PaymentProviderType = 'wechat' | 'wechat_v2' | 'fuiou'
|
||||
|
||||
// 微信支付配置
|
||||
export interface WechatConfig {
|
||||
|
||||
Reference in New Issue
Block a user