fix(meter):修正数据库字段映射。

This commit is contained in:
徐涛
2023-06-26 15:15:41 +08:00
parent 0246eaba27
commit aec1655f1c
3 changed files with 8 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ func InitializeMeterHandlers(router *fiber.App) {
// 查询指定园区下的表计信息
func searchMetersWithinPark(c *fiber.Ctx) error {
parkId := c.Params("parkId")
parkId := c.Params("pid")
meterLog.Info("查询指定园区下的表计信息", zap.String("park id", parkId))
result := response.NewResult(c)
if pass, err := checkParkBelongs(parkId, meterLog, c, &result); !pass {