Przeglądaj źródła

数据消息代码错误修复

沈静伟 4 lat temu
rodzic
commit
4fadeccf23

+ 2 - 2
src/dsb/com/cnd3b/websocketcontroller/message/message.java

@@ -103,9 +103,9 @@ public class message extends Controller {
      */
     public String sendDataMessage() throws P2Exception {
         long timdialogid = content.getLong("timdialogid");//对话框ID
-        long ownertable = content.getLong("ownertable");//数据表
+        String ownertable = content.getString("ownertable");//数据表
         long ownerid = content.getLong("ownerid");//数据ID
-        long ftype = content.getLong("ftype");//数据类型
+        String ftype = content.getString("ftype");//数据类型
 
         JSONObject messageObject = new JSONObject();
         messageObject.put("timdialogid", timdialogid);