This commit is contained in:
@@ -171,8 +171,8 @@ export interface EmployeeCollectionBillQueryParams extends PaginationParams {
|
||||
status?: EmployeeCollectionBillStatus
|
||||
debtor_account_id?: number
|
||||
customer_id?: number
|
||||
created_from?: string
|
||||
created_to?: string
|
||||
start_time?: string
|
||||
end_time?: string
|
||||
}
|
||||
|
||||
export interface CloseEmployeeCollectionBillRequest {
|
||||
@@ -195,7 +195,7 @@ export interface EmployeeCollectionApplicationAttempt {
|
||||
approval_status_name?: string | null
|
||||
approval_opinion?: string | null
|
||||
acting_reason?: string | null
|
||||
external_transaction_no?: string | null
|
||||
external_transaction_no?: string | null // 人工确认的外部交易流水号,申请人可原样核对与重用
|
||||
paid_amount?: number | null
|
||||
paid_at?: string | null
|
||||
payer_name?: string | null
|
||||
@@ -220,7 +220,7 @@ export interface EmployeeCollectionApplication {
|
||||
paid_amount?: number | null // 人工确认的付款金额(分)
|
||||
paid_at?: string | null
|
||||
payer_name?: string | null
|
||||
external_transaction_no?: string | null
|
||||
external_transaction_no?: string | null // 人工确认的外部交易流水号,申请人可原样核对与重用
|
||||
payment_voucher_keys?: string[] | null
|
||||
remark?: string | null
|
||||
status: EmployeeCollectionApplicationStatus
|
||||
|
||||
@@ -6,11 +6,14 @@
|
||||
// 命中页面集合 (home:首页, asset_detail:资产详情, package_purchase:套餐购买, asset_wallet_recharge:资产钱包充值)
|
||||
export type H5PopupPage = 'home' | 'asset_detail' | 'package_purchase' | 'asset_wallet_recharge'
|
||||
|
||||
// 弹窗类型(promotion: 套餐政策推广, announcement: 通用公告)
|
||||
export type H5PopupType = 'promotion' | 'announcement'
|
||||
|
||||
// 投放频率 (once:每客户每配置版本仅一次, daily:每客户每配置版本每个上海自然日一次)
|
||||
export type H5PopupFrequency = 'once' | 'daily'
|
||||
|
||||
// 受控动作 (package_purchase:套餐购买, asset_wallet_recharge:资产钱包充值);空字符串表示无受控动作
|
||||
export type H5PopupActionType = 'package_purchase' | 'asset_wallet_recharge' | ''
|
||||
export type H5PopupActionType = 'package_purchase' | 'asset_wallet_recharge'
|
||||
|
||||
// 卡类型范围 (CMCC:中国移动, CUCC:中国联通, CTCC:中国电信, CBN:中国广电)
|
||||
export type H5PopupCardType = 'CMCC' | 'CUCC' | 'CTCC' | 'CBN'
|
||||
@@ -20,6 +23,8 @@ export type H5PopupCardType = 'CMCC' | 'CUCC' | 'CTCC' | 'CBN'
|
||||
*/
|
||||
export interface H5PopupConfiguration {
|
||||
id: number // 配置ID
|
||||
popup_type: H5PopupType // 弹窗类型
|
||||
popup_type_text: string // 弹窗类型名称(中文)
|
||||
title: string // 弹窗标题
|
||||
content: string // 弹窗正文
|
||||
pages: H5PopupPage[] | null // 命中页面集合;空数组等价于非法(页面必选)
|
||||
@@ -28,7 +33,7 @@ export interface H5PopupConfiguration {
|
||||
frequency_text: string // 投放频率名称(中文)
|
||||
enabled: boolean // 是否启用;停用后停止新投放,历史通知在展示期内仍可见
|
||||
enabled_text: string // 启停状态名称(中文)
|
||||
action_type: H5PopupActionType // 受控动作;空值表示无受控动作
|
||||
action_type: H5PopupActionType | null // 受控动作;空值表示无受控动作
|
||||
shop_ids: number[] | null // 店铺范围;空数组表示全量
|
||||
device_types: string[] | null // 设备类型范围;空数组表示全量
|
||||
card_types: H5PopupCardType[] | null // 卡类型范围;空数组表示全量
|
||||
@@ -68,6 +73,7 @@ export interface H5PopupConfigurationListResponse {
|
||||
* shop_ids/device_types/card_types 空数组 = 全量。
|
||||
*/
|
||||
export interface CreateH5PopupConfigurationRequest {
|
||||
popup_type: H5PopupType // 弹窗类型
|
||||
title: string // 弹窗标题,1~100 字符
|
||||
content: string // 弹窗正文,1~2000 字符,不接受 HTML、URL 或前端路由
|
||||
pages: H5PopupPage[] // 命中页面集合(非空)
|
||||
@@ -76,7 +82,7 @@ export interface CreateH5PopupConfigurationRequest {
|
||||
starts_at: string // 生效开始时间(ISO 8601)
|
||||
ends_at: string // 生效结束时间(ISO 8601),不得早于开始时间
|
||||
enabled?: boolean // 是否启用,默认由后端决定
|
||||
action_type?: H5PopupActionType // 受控动作
|
||||
action_type?: H5PopupActionType | null // 受控动作
|
||||
shop_ids?: number[] // 店铺范围,空数组 = 全量
|
||||
device_types?: string[] // 设备类型范围,空数组 = 全量
|
||||
card_types?: H5PopupCardType[] // 卡类型范围,空数组 = 全量
|
||||
@@ -90,6 +96,7 @@ export interface CreateH5PopupConfigurationRequest {
|
||||
*/
|
||||
export interface UpdateH5PopupConfigurationRequest {
|
||||
id: number // 运营弹窗配置ID
|
||||
popup_type?: H5PopupType // 弹窗类型
|
||||
title?: string // 不传保持原值,1~100 字符
|
||||
content?: string // 不传保持原值,1~2000 字符
|
||||
pages?: H5PopupPage[] // 不传保持原值;传空数组等价于非法(页面必选)
|
||||
@@ -98,7 +105,7 @@ export interface UpdateH5PopupConfigurationRequest {
|
||||
starts_at?: string // 不传保持原值(ISO 8601)
|
||||
ends_at?: string // 不传保持原值(ISO 8601),不得早于开始时间
|
||||
enabled?: boolean // 不传保持原值;启停会刷新最近更新时间并影响同优先级排序
|
||||
action_type?: H5PopupActionType | null // 不传保持原值;传空字符串 = 清除受控动作
|
||||
action_type?: H5PopupActionType | '' // 不传保持原值;传空字符串 = 清除受控动作
|
||||
shop_ids?: number[] | null // 不传保持原值;传空数组 = 改为全量
|
||||
device_types?: string[] | null // 不传保持原值;传空数组 = 改为全量
|
||||
card_types?: H5PopupCardType[] | null // 不传保持原值;传空数组 = 改为全量
|
||||
|
||||
Reference in New Issue
Block a user