feat: 更新分期方案初始化脚本,匹配最新表结构
- 更新表名和字段名为小写格式 - 修正字段类型以匹配实体类定义 - 新增缺失字段:scheme_type, down_payment_ratio等 - 添加索引优化查询性能 - 完善表和字段注释
This commit is contained in:
29
LCXiaoguan-ui/env.d.ts
vendored
Normal file
29
LCXiaoguan-ui/env.d.ts
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
// Vue模块声明
|
||||
declare module '*.vue' {
|
||||
import type { DefineComponent } from 'vue'
|
||||
const component: DefineComponent<{}, {}, any>
|
||||
export default component
|
||||
}
|
||||
|
||||
// 环境变量接口
|
||||
interface ImportMetaEnv {
|
||||
readonly VITE_APP_TITLE: string
|
||||
readonly VITE_APP_ENV: string
|
||||
readonly VITE_APP_BASE_API: string
|
||||
readonly VITE_APP_VERSION: string
|
||||
readonly VITE_BUILD_VERSION: string
|
||||
readonly [key: string]: any
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
readonly env: ImportMetaEnv
|
||||
}
|
||||
|
||||
// API模块通配符声明
|
||||
declare module '@/api/system/*' {
|
||||
const content: any
|
||||
export default content
|
||||
export * from '@/api/system/*'
|
||||
}
|
||||
Reference in New Issue
Block a user