功能(网页):新增客户体验流程
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user