新增测点配置

This commit is contained in:
2024-09-03 15:52:38 +08:00
parent bfb284c4cc
commit 3b53e9f9b7
37 changed files with 429 additions and 66 deletions

14
api/v1/common.go Normal file
View File

@@ -0,0 +1,14 @@
package v1
import (
"energy-management-system/response"
"energy-management-system/service"
"github.com/gin-gonic/gin"
)
type Common struct{}
func (r *Common) GetEnergyTypeMap(c *gin.Context) {
respData := service.GroupServices.Common.GetEnergyTypeMap()
response.SuccessData(respData, c)
}