功能(网页):新增客户体验流程

This commit is contained in:
xiaowang
2026-05-23 21:56:18 +08:00
parent c2c985b2f8
commit 861eea933b
28 changed files with 2236 additions and 108 deletions
+8 -2
View File
@@ -491,6 +491,10 @@ export interface Tag {
textColor?: string
bgColor?: string
borderColor?: string
sceneGroup?: string
displayName?: string
sortOrder?: number
frontVisible?: number
shopId?: IdType
shopName?: string
type?: number
@@ -524,7 +528,7 @@ export const adminTagApi = {
* Call guide: supply the parameters below, await the returned Promise, and handle loading / error UI in the caller.
* @param data: { tagName: string; textColor?: string; bgColor?: string; borderColor?: string; shopId?: IdType } caller-supplied value for `data: { tagName: string; textColor?: string; bgColor?: string; borderColor?: string; shopId?: IdType }`
*/
createTag: (data: { tagName: string; textColor?: string; bgColor?: string; borderColor?: string; shopId?: IdType }) => {
createTag: (data: { tagName: string; textColor?: string; bgColor?: string; borderColor?: string; sceneGroup?: string; displayName?: string; sortOrder?: number; frontVisible?: number; shopId?: IdType }) => {
return adminApi.post<IdType>('/tag/create', data)
},
/**
@@ -533,7 +537,7 @@ export const adminTagApi = {
* @param id: IdType caller-supplied value for `id: IdType`
* @param data: { tagName: string; textColor?: string; bgColor?: string; borderColor?: string; shopId?: IdType } caller-supplied value for `data: { tagName: string; textColor?: string; bgColor?: string; borderColor?: string; shopId?: IdType }`
*/
updateTag: (id: IdType, data: { tagName: string; textColor?: string; bgColor?: string; borderColor?: string; shopId?: IdType }) => {
updateTag: (id: IdType, data: { tagName: string; textColor?: string; bgColor?: string; borderColor?: string; sceneGroup?: string; displayName?: string; sortOrder?: number; frontVisible?: number; shopId?: IdType }) => {
return adminApi.put<boolean>(`/tag/update/${id}`, data)
},
/**
@@ -711,6 +715,8 @@ export interface Product {
shopName?: string
title: string
description: string
targetAudience?: string
precautions?: string
price: number
approximateDuration?: string
tags?: string