Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
basic-uniapp-v3
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-uniapp-v3
Commits
697569bc
提交
697569bc
authored
5月 26, 2026
作者:
廖在望
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 修改生产环境接口地址
上级
dcb2c886
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
40 行增加
和
2 行删除
+40
-2
.env.development
.env.development
+1
-1
.env.production
.env.production
+1
-1
AGENTS.md
AGENTS.md
+37
-0
farm_base_bg.png
src/static/images/login/farm_base_bg.png
+0
-0
components.d.ts
types/components.d.ts
+1
-0
没有找到文件。
.env.development
浏览文件 @
697569bc
# API 接口地址
# API 接口地址
# VITE_GLOB_API_URL=http://111.22.182.169:49600
# VITE_GLOB_API_URL=http://111.22.182.169:49600
# VITE_GLOB_API_URL=http://36.133.16.81:42111
# VITE_GLOB_API_URL=http://36.133.16.81:42111
VITE_GLOB_API_URL=http
://123.207.47.17
VITE_GLOB_API_URL=http
s://api.hnnfpt.com
# API 接口地址前缀
# API 接口地址前缀
# VITE_GLOB_API_URL_PREFIX=/jeecgboot
# VITE_GLOB_API_URL_PREFIX=/jeecgboot
...
...
.env.production
浏览文件 @
697569bc
# API 接口地址
# API 接口地址
# VITE_GLOB_API_URL=http://111.22.182.169:49600
# VITE_GLOB_API_URL=http://111.22.182.169:49600
VITE_GLOB_API_URL=http
://123.207.47.17
VITE_GLOB_API_URL=http
s://api.hnnfpt.com
# API 接口地址前缀
# API 接口地址前缀
# VITE_GLOB_API_URL_PREFIX=/jeecgboot
# VITE_GLOB_API_URL_PREFIX=/jeecgboot
...
...
AGENTS.md
0 → 100644
浏览文件 @
697569bc
# 全栈架构师代码规范
你是一位10+年全栈架构师。代码追求简洁、高效、可维护。
## 后端 (Java默认)
-
集合:Stream + 方法引用,禁止传统 for 循环
-
空安全:优先 Optional,拒绝
`if(obj==null)`
-
工具类:使用 Apache Commons/Guava/Hutool,不重复造轮子
-
资源:try-with-resources
-
SQL:复杂查询(多表JOIN/分组/子查询)必须用原生SQL(
`@Select`
/XML),禁止MyBatis-Plus Wrapper。单表CRUD可用MP内置方法
-
索引:避免WHERE条件中对索引列使用函数;禁止
`LIKE '%...%'`
;JOIN关联字段必须有索引
-
分页:大数据量用游标(
`id > last_id`
)而非大OFFSET
## 前端 (React/Vue/TS)
-
语法:ES2020+,强制
`?.`
和
`??`
,解构,展开
-
循环:用
`map`
/
`filter`
/
`reduce`
,禁止
`for`
/
`forEach`
-
React:函数组件 + Hooks;
`useEffect`
依赖完整;不可变更新
-
Vue:Composition API +
`<script setup>`
## 通用
-
日志:结构化,禁止
`e.printStackTrace()`
-
配置:环境变量,无硬编码
-
测试:核心逻辑覆盖率 > 80%
-
性能:循环内禁止RPC/DB调用;热数据缓存
-
安全:参数化查询防SQL注入;密码bcrypt
## 代码提交
-
每执行2个任务后自动更新代码并提交,总结修改内容作为提交日志;
-
若有代码冲突先提示,并阻断提交。
## 输出
只输出代码。若存在明显隐患,简短标注 ⚠️
\ No newline at end of file
src/static/images/login/farm_base_bg.png
0 → 100644
浏览文件 @
697569bc
差异被折叠。
点击展开。
types/components.d.ts
浏览文件 @
697569bc
...
@@ -12,6 +12,7 @@ declare module 'vue' {
...
@@ -12,6 +12,7 @@ declare module 'vue' {
BottomBar
:
typeof
import
(
'./../src/components/Map/Widgets/BottomBar/src/BottomBar.vue'
)[
'default'
]
BottomBar
:
typeof
import
(
'./../src/components/Map/Widgets/BottomBar/src/BottomBar.vue'
)[
'default'
]
CacheImage
:
typeof
import
(
'./../src/components/CacheImage/index.vue'
)[
'default'
]
CacheImage
:
typeof
import
(
'./../src/components/CacheImage/index.vue'
)[
'default'
]
ConfirmDialog
:
typeof
import
(
'./../src/components/ConfirmDialog/index.vue'
)[
'default'
]
ConfirmDialog
:
typeof
import
(
'./../src/components/ConfirmDialog/index.vue'
)[
'default'
]
CustomTabBar
:
typeof
import
(
'./../src/components/CustomTabBar/index.vue'
)[
'default'
]
Empty
:
typeof
import
(
'./../src/components/Empty/index.vue'
)[
'default'
]
Empty
:
typeof
import
(
'./../src/components/Empty/index.vue'
)[
'default'
]
FDragItem
:
typeof
import
(
'./../src/components/FirstUI/fui-drag/f-drag-item.vue'
)[
'default'
]
FDragItem
:
typeof
import
(
'./../src/components/FirstUI/fui-drag/f-drag-item.vue'
)[
'default'
]
FIndexListItem
:
typeof
import
(
'./../src/components/FirstUI/fui-index-list/f-index-list-item.vue'
)[
'default'
]
FIndexListItem
:
typeof
import
(
'./../src/components/FirstUI/fui-index-list/f-index-list-item.vue'
)[
'default'
]
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论