|
@@ -26,6 +26,10 @@ class Msg
|
|
|
(
|
|
|
'value' => date('Y-m-d H:i:s'),
|
|
|
),
|
|
|
+ 'keyword3' => array
|
|
|
+ (
|
|
|
+ 'value' => '欢迎参加',
|
|
|
+ ),
|
|
|
);
|
|
|
|
|
|
$data = json_encode($data);
|
|
@@ -35,7 +39,7 @@ class Msg
|
|
|
Dever::setInput('page', $page);
|
|
|
Dever::setInput('data', $data);
|
|
|
|
|
|
- Dever::setInput('key', 'buy');
|
|
|
+ Dever::setInput('key', 'act');
|
|
|
Dever::setInput('project_id', '2');
|
|
|
return $this->send();
|
|
|
}
|
|
@@ -60,7 +64,6 @@ class Msg
|
|
|
{
|
|
|
if ($project_id > 0 && $key && $touser && $page && $data) {
|
|
|
$info = Dever::db('applet/msg')->one(array('option_key' => $key, 'option_project_id' => $project_id));
|
|
|
- print_r($info);die;
|
|
|
if ($info) {
|
|
|
$update = array();
|
|
|
$update['project_id'] = $info['project_id'];
|