feat(api): 添加 parentId 和 choiceContent 字段支持
- 在 cmsDesign 模型中添加 parentId 字段 - 在 hjmChoices 模型中添加 choiceContent 字段 - 更新 shopExpressTemplate 模型字段注释并添加 sortNumber 和 comments 字段 - 更新 shopGoodsCoupon 模型添加 comments 字段- 在多个 Vue 组件中移除冗余字段并设置默认值- 移除未使用的导入和相关逻辑代码 - 清理版本管理页面的无用代码和样式
This commit is contained in:
@@ -52,6 +52,7 @@ export interface CmsDesign {
|
||||
demoUrl?: string;
|
||||
account?: string;
|
||||
docUrl?: string;
|
||||
parentId?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -26,6 +26,8 @@ export interface HjmChoices {
|
||||
createTime?: string;
|
||||
// 修改时间
|
||||
updateTime?: string;
|
||||
// 选择题内容
|
||||
choiceContent?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -4,11 +4,11 @@ import type { PageParam } from '@/api';
|
||||
* 运费模板
|
||||
*/
|
||||
export interface ShopExpressTemplate {
|
||||
//
|
||||
//
|
||||
id?: number;
|
||||
//
|
||||
//
|
||||
type?: string;
|
||||
//
|
||||
//
|
||||
title?: string;
|
||||
// 收件价格
|
||||
firstAmount?: string;
|
||||
@@ -24,8 +24,10 @@ export interface ShopExpressTemplate {
|
||||
createTime?: string;
|
||||
// 修改时间
|
||||
updateTime?: string;
|
||||
//
|
||||
// 排序
|
||||
sortNumber?: number;
|
||||
// 备注
|
||||
comments?: string;
|
||||
// 首件数量/重量
|
||||
firstNum?: string;
|
||||
// 续件数量/重量
|
||||
|
||||
@@ -4,7 +4,7 @@ import type { PageParam } from '@/api/index';
|
||||
* 商品优惠券表
|
||||
*/
|
||||
export interface ShopGoodsCoupon {
|
||||
//
|
||||
//
|
||||
id?: number;
|
||||
// 商品id
|
||||
goodsId?: number;
|
||||
@@ -24,6 +24,8 @@ export interface ShopGoodsCoupon {
|
||||
createTime?: string;
|
||||
// 修改时间
|
||||
updateTime?: string;
|
||||
// 备注
|
||||
comments?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user