功能(订单服务): 增加可配置未成年提示门禁
This commit is contained in:
@@ -33,6 +33,7 @@ import type {
|
||||
WorkerPlatformNotificationConfig,
|
||||
WorkerProductMatchConfig,
|
||||
WorkerAnnouncementConfig,
|
||||
OrderServiceAgeGateConfig,
|
||||
WorkerSupportContactConfig,
|
||||
WorkerProductNameSuffixConfig,
|
||||
WorkerLevel,
|
||||
@@ -137,6 +138,17 @@ export function saveAdminWorkerAnnouncement(payload: WorkerAnnouncementConfig) {
|
||||
return apiPost<WorkerAnnouncementConfig>('/api/v1/admin/worker-platform/announcement', payload)
|
||||
}
|
||||
|
||||
export function fetchAdminOrderServiceAgeGateConfig() {
|
||||
return apiGet<OrderServiceAgeGateConfig>('/api/v1/admin/worker-platform/order-service-age-gate')
|
||||
}
|
||||
|
||||
export function saveAdminOrderServiceAgeGateConfig(payload: OrderServiceAgeGateConfig) {
|
||||
return apiPost<OrderServiceAgeGateConfig>(
|
||||
'/api/v1/admin/worker-platform/order-service-age-gate',
|
||||
payload,
|
||||
)
|
||||
}
|
||||
|
||||
export function fetchAdminWorkerSupportContact() {
|
||||
return apiGet<WorkerSupportContactConfig>('/api/v1/admin/worker-platform/support-contact')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user