mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 00:29:19 +08:00
refactor(ecom-dmb): 移除 ec_platform 表的 logo_url 字段
- ec_design.sql 移除 logo_url 列定义 - PlatformPO/VO/DTO 移除 logoUrl 字段 - 前端类型定义同步移除 logoUrl - 数据库已删除 logo_url 列
This commit is contained in:
@@ -359,7 +359,6 @@ CREATE TABLE `ec_platform` (
|
|||||||
`company_id` bigint UNSIGNED NOT NULL COMMENT '所属公司ID',
|
`company_id` bigint UNSIGNED NOT NULL COMMENT '所属公司ID',
|
||||||
`platform_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '平台名称(如淘宝、京东、拼多多、抖音)',
|
`platform_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '平台名称(如淘宝、京东、拼多多、抖音)',
|
||||||
`platform_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '平台代码(如 taobao、jd、pdd、douyin)',
|
`platform_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '平台代码(如 taobao、jd、pdd、douyin)',
|
||||||
`logo_url` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '平台Logo URL',
|
|
||||||
`sort_order` int NOT NULL DEFAULT 0 COMMENT '排序',
|
`sort_order` int NOT NULL DEFAULT 0 COMMENT '排序',
|
||||||
`is_active` tinyint NOT NULL DEFAULT 1 COMMENT '是否启用 0禁用 1启用',
|
`is_active` tinyint NOT NULL DEFAULT 1 COMMENT '是否启用 0禁用 1启用',
|
||||||
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||||
|
|||||||
-6
@@ -25,12 +25,6 @@ public class CreatePlatformDTO {
|
|||||||
@NotBlank(message = "平台代码不能为空")
|
@NotBlank(message = "平台代码不能为空")
|
||||||
private String platformCode;
|
private String platformCode;
|
||||||
|
|
||||||
/**
|
|
||||||
* Logo URL
|
|
||||||
*/
|
|
||||||
@Schema(description = "Logo URL")
|
|
||||||
private String logoUrl;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 排序
|
* 排序
|
||||||
*/
|
*/
|
||||||
|
|||||||
-6
@@ -26,12 +26,6 @@ public class UpdatePlatformDTO {
|
|||||||
@NotBlank(message = "平台代码不能为空")
|
@NotBlank(message = "平台代码不能为空")
|
||||||
private String platformCode;
|
private String platformCode;
|
||||||
|
|
||||||
/**
|
|
||||||
* Logo URL
|
|
||||||
*/
|
|
||||||
@Schema(description = "Logo URL")
|
|
||||||
private String logoUrl;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 排序
|
* 排序
|
||||||
*/
|
*/
|
||||||
|
|||||||
-6
@@ -38,12 +38,6 @@ public class PlatformPO {
|
|||||||
@TableField("platform_code")
|
@TableField("platform_code")
|
||||||
private String platformCode;
|
private String platformCode;
|
||||||
|
|
||||||
/**
|
|
||||||
* 平台Logo URL
|
|
||||||
*/
|
|
||||||
@TableField("logo_url")
|
|
||||||
private String logoUrl;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 排序
|
* 排序
|
||||||
*/
|
*/
|
||||||
|
|||||||
-6
@@ -36,12 +36,6 @@ public class PlatformVO {
|
|||||||
@Schema(description = "平台代码", example = "taobao")
|
@Schema(description = "平台代码", example = "taobao")
|
||||||
private String platformCode;
|
private String platformCode;
|
||||||
|
|
||||||
/**
|
|
||||||
* Logo URL
|
|
||||||
*/
|
|
||||||
@Schema(description = "Logo URL", example = "https://example.com/taobao.png")
|
|
||||||
private String logoUrl;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 排序
|
* 排序
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ export namespace PlatformDTO {
|
|||||||
export interface Create {
|
export interface Create {
|
||||||
platformName: string;
|
platformName: string;
|
||||||
platformCode: string;
|
platformCode: string;
|
||||||
logoUrl?: string;
|
|
||||||
sortOrder?: number;
|
sortOrder?: number;
|
||||||
isActive?: number;
|
isActive?: number;
|
||||||
}
|
}
|
||||||
@@ -16,7 +15,6 @@ export namespace PlatformDTO {
|
|||||||
export interface Update {
|
export interface Update {
|
||||||
platformName: string;
|
platformName: string;
|
||||||
platformCode: string;
|
platformCode: string;
|
||||||
logoUrl?: string;
|
|
||||||
sortOrder: number;
|
sortOrder: number;
|
||||||
isActive: number;
|
isActive: number;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ export namespace PlatformVO {
|
|||||||
id: number;
|
id: number;
|
||||||
platformName: string;
|
platformName: string;
|
||||||
platformCode: string;
|
platformCode: string;
|
||||||
logoUrl?: string;
|
|
||||||
sortOrder: number;
|
sortOrder: number;
|
||||||
isActive: number;
|
isActive: number;
|
||||||
createTime: string;
|
createTime: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user