{"action":"closed","issue":{"url":"https://api.github.com/repos/top-think/framework/issues/335","repository_url":"https://api.github.com/repos/top-think/framework","labels_url":"https://api.github.com/repos/top-think/framework/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/top-think/framework/issues/335/comments","events_url":"https://api.github.com/repos/top-think/framework/issues/335/events","html_url":"https://github.com/top-think/framework/issues/335","id":185716912,"number":335,"title":"一对一关联时，方法名带下划线会使关联失效","user":{"login":"yeahTibbers","id":10751521,"avatar_url":"https://avatars.githubusercontent.com/u/10751521?v=3","gravatar_id":"","url":"https://api.github.com/users/yeahTibbers","html_url":"https://github.com/yeahTibbers","followers_url":"https://api.github.com/users/yeahTibbers/followers","following_url":"https://api.github.com/users/yeahTibbers/following{/other_user}","gists_url":"https://api.github.com/users/yeahTibbers/gists{/gist_id}","starred_url":"https://api.github.com/users/yeahTibbers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeahTibbers/subscriptions","organizations_url":"https://api.github.com/users/yeahTibbers/orgs","repos_url":"https://api.github.com/users/yeahTibbers/repos","events_url":"https://api.github.com/users/yeahTibbers/events{/privacy}","received_events_url":"https://api.github.com/users/yeahTibbers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-27T16:22:14Z","updated_at":"2016-11-08T07:18:00Z","closed_at":"2016-11-08T07:18:00Z","body":"$User = User::get(1014252);\n$result = $User->user_action;\n\n<?php\nnamespace app\\index\\model;\n\nuse think\\Model;\n\nclass User extends Model\n{\n    // 定义关联方法（此处关联失效）\n    public function user_action()\n    {\n        return $this->hasOne('UserAction');\n    }\n}\n"}}
{"actor":{"display_login":"yunwuxin"}}