libushang hai 5 días
pai
achega
5617c03d74
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      routers/prod_api/sso.py

+ 2 - 2
routers/prod_api/sso.py

@@ -170,9 +170,9 @@ async def create_event(
             traceback.print_exc()
         
         return {
-            "code": 200,
+            "code": 0,
             "msg": "新建事件成功",
-            "data": eventId
+            "data": f"https://yjdp.mmsyjj.cn:8086/yjdp/#/emergencyCommandMap?event_id={eventId}"
         }
         
     except Exception as e: