diff --git a/platform-basic-libs/service/realdata/real_data_service.go b/platform-basic-libs/service/realdata/real_data_service.go index 6da430c..6ac314f 100644 --- a/platform-basic-libs/service/realdata/real_data_service.go +++ b/platform-basic-libs/service/realdata/real_data_service.go @@ -20,7 +20,7 @@ func (this RealDataService) FailDataList(minutes int,appid int) (failDataResList toStartOfInterval(a.part_date, INTERVAL `+strconv.Itoa(minutes)+` minute) as interval_date, formatDateTime(interval_date,'%Y-%m-%d') as year ,formatDateTime(interval_date,'%H:%M') as start_minute, formatDateTime(addMinutes(interval_date, ?),'%H:%M') as end_minute, count(report_data) as count,a.error_reason,a.error_handling,report_type - from (select * from xwl_acceptance_status where table_id = ? and status = ? limit 1000 ) a + from (select * from xwl_acceptance_status where table_id = ? and status = ? order by part_date desc limit 1000 ) a group by interval_date,a.error_reason,a.error_handling,report_type order by interval_date desc; `,minutes,appid,consumer_data.FailStatus) diff --git a/router/index.go b/router/index.go index b4eedc5..5448cb3 100644 --- a/router/index.go +++ b/router/index.go @@ -35,7 +35,7 @@ func Init() *App { ) app.Post("/api/gm_user/login", ManagerUserController{}.Login) - + routerWebsocket(app) app.Use( Timer, JwtMiddleware, @@ -44,7 +44,6 @@ func Init() *App { runRouterGroupFn( app, - routerWebsocket, runOperaterLog, runGmUser, runRealData, diff --git a/vue/src/views/manager/components/debug.vue b/vue/src/views/manager/components/debug.vue index ad118bf..5c20da3 100644 --- a/vue/src/views/manager/components/debug.vue +++ b/vue/src/views/manager/components/debug.vue @@ -6,14 +6,13 @@ 添加distinctId为白名单(仅适用于客户端SDK),并开启Debug模式。设备ID可通过查看客户端日志获取。该模式的作用及使用过程请参考官网文档对应SDK页面中的Debug模式说明部分。 - Debug模式  + Debug模式  + style="height: 60px;line-height: 50px;display: flex;align-items: center;justify-content: space-between;border-bottom: 1px solid #f0f2f5"> 查看distinctId列表 @@ -23,22 +22,15 @@ - + - 格式化数据 - + @@ -93,7 +85,7 @@ 还原数据 - + @@ -110,27 +102,20 @@ @size-change="handleSizeChange" @current-change="handlePageChange" /> - + distinctId: - + 备注: - + 添加 - - 连接设备 + 连接设备 - 断开连接 + 断开连接 删除 @@ -189,9 +169,9 @@