Browse Source

修改bug

zhaoke 1 year ago
parent
commit
dfe5984b7d
1 changed files with 5 additions and 1 deletions
  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