Browse Source

地图修改协议

chensongchao 5 years ago
parent
commit
f891eacaa4
2 changed files with 2 additions and 2 deletions
  1. 1 1
      forbid_staff_down_mine.cpp
  2. 1 1
      websocket/constdef.h

+ 1 - 1
forbid_staff_down_mine.cpp

@@ -16,7 +16,7 @@ void forbid_staff_down_mine::init_forbid_staff(int id /* = -1*/,int etype)
     int nCount = DBRes.GetRecordCount( Error );
     if (nCount < 1)
     {
-        log_error("增加或修改失败,数据库中找不到: sql=%s", sql.c_str());
+        log_info("增加或修改失败,数据库中没有记录: sql=%s", sql.c_str());
         return ;
     }
     while ( DBRes.GetNextRecod(Error) )

+ 1 - 1
websocket/constdef.h

@@ -51,7 +51,7 @@
 #define JSON_KEY_OP_TYPE_DELETE "DELETE"
 
 #define JSON_KEY_NAME "name"
-#define JSON_KEY_NAME_MAP "map"
+#define JSON_KEY_NAME_MAP "map_gis"
 #define JSON_KEY_NAME_AREA "area"
 #define JSON_KEY_NAME_PATH "reader_path_tof_n"
 #define JSON_KEY_NAME_READER "reader"