diff --git a/build/Dockerfile_app b/build/Dockerfile_app index 18bb176..0c47cea 100644 --- a/build/Dockerfile_app +++ b/build/Dockerfile_app @@ -1,4 +1,5 @@ -FROM docker.io/library/alpine:3.20 +#FROM docker.io/library/alpine:3.20 +FROM registry.ngaiot.com/local/alpine_3.20_cst:5 RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories WORKDIR /app/ RUN apk add --no-cache tzdata diff --git a/et_Info/InfoHandler.go b/et_Info/InfoHandler.go index 10c6937..91e81f4 100644 --- a/et_Info/InfoHandler.go +++ b/et_Info/InfoHandler.go @@ -37,7 +37,8 @@ func (the *InfoHandler) getStationInfo(p *common_models.ProcessData) *common_mod log.Printf("重获取设备[%s]的 DeviceStationObj", p.DeviceData.DeviceId) stationIds, err := the.configHelper.GetDeviceStationIds(p.DeviceData.DeviceId) if err != nil { - log.Printf("GetDeviceStationIds err =>%s", err.Error()) + log.Printf("err !!! GetDeviceStationIds =>%s", err.Error()) + return p } p.Stations, err = the.configHelper.GetStations(stationIds...) the.getFormulaInfo(p)