Commit 3bce436c by 冷斌

踢人

parent d24bc2ec
......@@ -1557,8 +1557,6 @@ class Model_Home extends PhalApi_Model_NotORM {
// 评论
public function commentDynamic($params)
{
var_dump($params);
die;
$model = DI()->notorm->dynamic
->where('id=' . $params['dynamic_id'])
->fetchOne();
......@@ -1574,6 +1572,8 @@ class Model_Home extends PhalApi_Model_NotORM {
}
$params['puid'] = $model2['uid'];
}
var_dump($params);
die;
DI()->notorm->users_comment_dynamic->insert($params);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment