refactor(terminology): 统一术语标准并优化代码类型安全
- 将B2B统一为TOB术语 - 将状态值统一为大写格式 - 优化类型声明,避免使用any - 将float类型替换为decimal以提高精度 - 新增术语标准化文档 - 优化路由结构和菜单分类 - 添加TypeORM实体类 - 增强加密模块安全性 - 重构前端路由结构 - 完善任务模板和验收标准
This commit is contained in:
@@ -25,34 +25,39 @@ const MenuComponent: React.FC = () => {
|
||||
label: <Link to="/dashboard">Dashboard</Link>,
|
||||
},
|
||||
{
|
||||
key: '/product',
|
||||
key: '/products',
|
||||
icon: <ShoppingOutlined />,
|
||||
label: <Link to="/product">Product</Link>,
|
||||
label: <Link to="/products">Products</Link>,
|
||||
},
|
||||
{
|
||||
key: '/orders',
|
||||
icon: <OrderedListOutlined />,
|
||||
label: <Link to="/orders">Orders</Link>,
|
||||
},
|
||||
{
|
||||
key: '/ad',
|
||||
icon: <TabletOutlined />,
|
||||
label: <Link to="/ad">Ad</Link>,
|
||||
},
|
||||
{
|
||||
key: '/inventory',
|
||||
icon: <InboxOutlined />,
|
||||
label: <Link to="/inventory">Inventory</Link>,
|
||||
},
|
||||
{
|
||||
key: '/finance',
|
||||
icon: <DollarOutlined />,
|
||||
label: <Link to="/finance">Finance</Link>,
|
||||
},
|
||||
{
|
||||
key: '/marketing/ads',
|
||||
icon: <TabletOutlined />,
|
||||
label: <Link to="/marketing/ads">Ads</Link>,
|
||||
},
|
||||
{
|
||||
key: '/b2b',
|
||||
icon: <TeamOutlined />,
|
||||
label: <Link to="/b2b">B2B</Link>,
|
||||
},
|
||||
{
|
||||
key: '/finance',
|
||||
icon: <DollarOutlined />,
|
||||
label: <Link to="/finance">Finance</Link>,
|
||||
key: '/independent-sites',
|
||||
icon: <HomeOutlined />,
|
||||
label: <Link to="/independent-sites">Independent Sites</Link>,
|
||||
},
|
||||
{
|
||||
key: '/compliance',
|
||||
@@ -64,11 +69,6 @@ const MenuComponent: React.FC = () => {
|
||||
icon: <SettingOutlined />,
|
||||
label: <Link to="/settings">Settings</Link>,
|
||||
},
|
||||
{
|
||||
key: '/independent-site',
|
||||
icon: <HomeOutlined />,
|
||||
label: <Link to="/independent-site">Independent Site</Link>,
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user