mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 01:19: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',
|
||||
`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)',
|
||||
`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 '排序',
|
||||
`is_active` tinyint NOT NULL DEFAULT 1 COMMENT '是否启用 0禁用 1启用',
|
||||
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
|
||||
-6
@@ -25,12 +25,6 @@ public class CreatePlatformDTO {
|
||||
@NotBlank(message = "平台代码不能为空")
|
||||
private String platformCode;
|
||||
|
||||
/**
|
||||
* Logo URL
|
||||
*/
|
||||
@Schema(description = "Logo URL")
|
||||
private String logoUrl;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
|
||||
-6
@@ -26,12 +26,6 @@ public class UpdatePlatformDTO {
|
||||
@NotBlank(message = "平台代码不能为空")
|
||||
private String platformCode;
|
||||
|
||||
/**
|
||||
* Logo URL
|
||||
*/
|
||||
@Schema(description = "Logo URL")
|
||||
private String logoUrl;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
|
||||
-6
@@ -38,12 +38,6 @@ public class PlatformPO {
|
||||
@TableField("platform_code")
|
||||
private String platformCode;
|
||||
|
||||
/**
|
||||
* 平台Logo URL
|
||||
*/
|
||||
@TableField("logo_url")
|
||||
private String logoUrl;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
|
||||
-6
@@ -36,12 +36,6 @@ public class PlatformVO {
|
||||
@Schema(description = "平台代码", example = "taobao")
|
||||
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 {
|
||||
platformName: string;
|
||||
platformCode: string;
|
||||
logoUrl?: string;
|
||||
sortOrder?: number;
|
||||
isActive?: number;
|
||||
}
|
||||
@@ -16,7 +15,6 @@ export namespace PlatformDTO {
|
||||
export interface Update {
|
||||
platformName: string;
|
||||
platformCode: string;
|
||||
logoUrl?: string;
|
||||
sortOrder: number;
|
||||
isActive: number;
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@ export namespace PlatformVO {
|
||||
id: number;
|
||||
platformName: string;
|
||||
platformCode: string;
|
||||
logoUrl?: string;
|
||||
sortOrder: number;
|
||||
isActive: number;
|
||||
createTime: string;
|
||||
|
||||
Reference in New Issue
Block a user