dever 7 년 전
부모
커밋
b53eba393c
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      applet/src/Msg.php

+ 7 - 7
applet/src/Msg.php

@@ -33,11 +33,11 @@ class Msg
 				}
 
 				$where = array();
-				$where['msg_id'] = $info['id'];
-				$where['touser'] = $update['touser'];
-				$where['data'] = $update['data'];
-				$where['form_id'] = $update['form_id'];
-				$where['page'] = $update['page'];
+				$where['option_msg_id'] = $info['id'];
+				$where['option_touser'] = $update['touser'];
+				$where['option_data'] = $update['data'];
+				$where['option_form_id'] = $update['form_id'];
+				$where['option_page'] = $update['page'];
 
 				$id = Dever::upinto('applet/msg_log', $where, $update);
 
@@ -74,8 +74,8 @@ class Msg
 			$update['form_id'] = Dever::input('form_id');
 
 			$where = array();
-			$where['project_id'] = $info['project_id'];
-			$where['form_id'] = $update['form_id'];
+			$where['option_project_id'] = $info['project_id'];
+			$where['option_form_id'] = $update['form_id'];
 
 			$id = Dever::upinto('applet/msg_form', $where, $update);
 		}