|
@@ -5,6 +5,7 @@ import (
|
|
|
"eta/eta_chart_lib/models"
|
|
|
"eta/eta_chart_lib/models/data_manage"
|
|
|
"eta/eta_chart_lib/models/data_manage/cross_variety/request"
|
|
|
+ "eta/eta_chart_lib/services/alarm_msg"
|
|
|
"eta/eta_chart_lib/services/data"
|
|
|
"eta/eta_chart_lib/services/data/cross_variety"
|
|
|
dwmini "eta/eta_chart_lib/services/dw_mini"
|
|
@@ -284,6 +285,8 @@ func (this *ChartController) Collect() {
|
|
|
br.ErrMsg = "参数错误,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+ b, _ := json.Marshal(req)
|
|
|
+ alarm_msg.SendAlarmMsg(string(b), 1)
|
|
|
if req.UniqueCode == "" {
|
|
|
br.Msg = "参数错误"
|
|
|
br.ErrMsg = "参数错误,UniqueCode is empty"
|