zhaoke hace 1 año
padre
commit
dfe5984b7d
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      src/api/webApi.ts

+ 5 - 1
src/api/webApi.ts

@@ -60,7 +60,11 @@ function NewGeneralDataReception(func: any) {
 
 export function GeneralDataReception(params): Promise<CommonQueryResult> {
   const { serviceId, dataContent } = params
-  if (NEW_SERVICE_ID.includes(serviceId)) {
+  if (
+    NEW_SERVICE_ID.includes(Number(serviceId)) ||
+    serviceId == 65004 ||
+    serviceId == 65007
+  ) {
     const newData = JSON.parse(dataContent)
     const { event } = newData
     const eventType = event ?? params.event