|
@@ -38,6 +38,10 @@ import (
|
|
func (this *ChartController) CommonChartInfoDetailFromUniqueCode() {
|
|
func (this *ChartController) CommonChartInfoDetailFromUniqueCode() {
|
|
br := new(models.BaseResponse).Init()
|
|
br := new(models.BaseResponse).Init()
|
|
defer func() {
|
|
defer func() {
|
|
|
|
+ if br.Ret != 200 {
|
|
|
|
+ b, _ := json.Marshal(br)
|
|
|
|
+ alarm_msg.SendAlarmMsg(string(b), 1)
|
|
|
|
+ }
|
|
this.Data["json"] = br
|
|
this.Data["json"] = br
|
|
this.ServeJSON()
|
|
this.ServeJSON()
|
|
}()
|
|
}()
|