|
@@ -85,6 +85,10 @@ class Msg
|
|
|
$update['form_id'] = $this->getFormId($info['project_id'], $update['touser']);
|
|
|
}
|
|
|
|
|
|
+ if (!$update['form_id']) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
$where = array();
|
|
|
$where['option_msg_id'] = $info['id'];
|
|
|
$where['option_touser'] = $update['touser'];
|
|
@@ -203,7 +207,7 @@ class Msg
|
|
|
Dever::db('applet/msg_form')->delete($info['id']);
|
|
|
return $info['form_id'];
|
|
|
} else {
|
|
|
- Dever::alert('错误的form_id');
|
|
|
+ return false;
|
|
|
}
|
|
|
}
|
|
|
|