diff --git a/configFiles/config_安心云测点特征数据_广东省平台.yaml b/configFiles/config_安心云测点特征数据_广东省平台.yaml deleted file mode 100644 index 10bf9e5..0000000 --- a/configFiles/config_安心云测点特征数据_广东省平台.yaml +++ /dev/null @@ -1,37 +0,0 @@ -consumer: consumerAXYES2GDJKJC -ioConfig: - in: - http: - url: https://esproxy.anxinyun.cn/anxincloud_themes/_search - out: - http: - url: https://bmsapi.gdjkjc.cn:13579/Data/AddStatData - method: "post" -monitor: - #振动是触发式,数据迟缓 cron10min也改成1小时一次 最多上报6条,不进行10min实时上报 - cron10min: 25 0/1 * * * #6/10 * * * * - #普通类型 特征数据 - cron1hour: 53 0/1 * * * -info: - 5450: #隆江大桥 - appKey: db43bc5d74534348 - appSecret: 162c0a92f089464eaf9349358af4a830 - 5455: #螺河特大桥 - appKey: 11b8f81901134570 - appSecret: 1505ef9480e4491bb578e2d7d9781620 - 5456: #螺河东大桥 - appKey: d20477c3247b4012 - appSecret: 3d9bfb809be545bba11af17a88c81eb3 -queryComponent: - redis: - address: 10.8.30.160:30379 -#结构物id对应 -structInfo: - bridge: - 5450: G15445224L1120/G15445224R1119 #隆江大桥 - #5455: G15441581L1320/G15441581R1321 #螺河特大桥 - #5456: G15441581L1310/G15441581R1311 #螺河东大桥 - slope: #隧道无特征数据 预留 - #5452: project11223- - - diff --git a/consumers/consumerZWYHBJCAS.go b/consumers/consumerZWYHBJCAS.go index 8b08328..c810fa9 100644 --- a/consumers/consumerZWYHBJCAS.go +++ b/consumers/consumerZWYHBJCAS.go @@ -475,8 +475,9 @@ func (the *consumerZWYHBJCAS) UploadInfo(uploadType string) { err := the.postInfo(url, payLoadStr) if err != nil { log.Printf("数据上报失败,err=%v\n", err) + } else { + log.Printf("=====成功上报[%s]内容=====\n", uploadType) } - } func (the *consumerZWYHBJCAS) UploadCamInfo() { the.UploadInfo("cameraInfo")