1
0
mirror of https://github.com/typecho/plugins.git synced 2025-04-22 14:09:50 +08:00

根据最新API更新

This commit is contained in:
DT27 2016-05-26 13:20:43 +08:00
parent cef098f748
commit 4774ac4ac4

View File

@ -50,8 +50,8 @@ class B3logForHacPai_Action extends Typecho_Widget
'author' => $result->comment->authorName,
'mail' => $result->comment->authorEmail,
'url' => $result->comment->authorURL,
'agent' => $this->request->getAgent(),
'ip' => $this->request->getIp(),
'agent' => $result->comment->ua,//$this->request->getAgent(),
'ip' => $result->comment->ip,//$this->request->getIp(),
'ownerId' => $post['authorId'],
'type' => 'comment',
'status' => 'approved',