This commit is contained in:
2025-07-07 20:11:59 +08:00
parent ab0fdbc447
commit 06e3aa2eb3
2009 changed files with 193082 additions and 0 deletions

View File

@ -0,0 +1,24 @@
package consts
const (
OpenAPITitle = `GFast-v3`
OpenAPIDescription = `基于 GoFrame2.0的后台管理系统。 Enjoy 💖 `
OpenAPIContactName = "GFast"
OpenAPIContactUrl = "http://www.g-fast.cn"
SwaggerUITemplate = `
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="{SwaggerUIDocNamePlaceHolder}/doc/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title></title>
<script type="module" crossorigin src="{SwaggerUIDocNamePlaceHolder}/doc/webjars/js/doc-19de6184.js"></script>
<link rel="stylesheet" href="{SwaggerUIDocNamePlaceHolder}/doc/webjars/css/doc-5be93158.css">
</head>
<body>
<div id="app"></div>
</body>
</html>
`
)

6
internal/consts/role.go Normal file
View File

@ -0,0 +1,6 @@
package consts
const (
PostLeader = 1 // 班组长
PostConstruction = 2 // 施工人员
)

View File

@ -0,0 +1,12 @@
/*
* @desc:版本号
* @company:云南奇讯科技有限公司
* @Author: yixiaohu
* @Date: 2022/3/11 11:24
*/
package consts
const (
Version = "3.2.3"
)

View File

@ -0,0 +1,77 @@
package consts
const (
// 防雷接地网
LightningProtectionNet int = iota + 1
// 接地沟
GroundingDitch
// 接地敷设
GroundingLaying
// 接地检测
GroundingTesting
// 围栏
Fence
// 围栏基础
FenceFoundation
// 围栏安装
FenceInstallation
// 道路
Road
// 道路路基
RoadBase
// 道路排水沟
RoadDrainageDitch
// 低压部分
LowVoltage
// 低压钻孔
LowVoltageDrilling
// 低压桩基
LowVoltagePileFoundation
// 低压支架
LowVoltageBracket
// 低压光伏板
LowVoltagePhotovoltaicPanel
// 低压直流电缆
LowVoltageDC
// 低压接地线
LowVoltageGroundWire
// 低压逆变器安装
LowVoltageInverterInstallation
// 低压电缆沟开挖
LowVoltageCableTrenchExcavation
// 低压敷设
LowVoltageLaying
// 低压调试
LowVoltageDebugging
// 高压部分
HighVoltage
// 高压箱变基础
HighVoltageBoxChangeFoundation
// 高压箱变安装
HighVoltageBoxChangeInstallation
// 高压电缆线开挖
HighVoltageCableLineExcavation
// 高压电缆敷设
HighVoltageCableLaying
// 高压电缆试验
HighVoltageCableTest
// 高压电缆调式试验
HighVoltageCableDebuggingTest
// 环网柜
RingMainCabinet
// 环网柜基础
RingMainCabinetFoundation
// 环网柜安装
RingMainCabinetInstallation
// 环网柜敷设
RingMainCabinetLaying
// 环网柜试验
RingMainCabinetTest
// 环网柜调试试验
RingMainCabinetDebuggingTest
)