{"action":"opened","issue":{"url":"https://api.github.com/repos/z-song/laravel-admin/issues/1508","repository_url":"https://api.github.com/repos/z-song/laravel-admin","labels_url":"https://api.github.com/repos/z-song/laravel-admin/issues/1508/labels{/name}","comments_url":"https://api.github.com/repos/z-song/laravel-admin/issues/1508/comments","events_url":"https://api.github.com/repos/z-song/laravel-admin/issues/1508/events","html_url":"https://github.com/z-song/laravel-admin/issues/1508","id":283094887,"number":1508,"title":"模型中创建的getFooAttribute方法无法被Laravel-admin调用。","user":{"login":"OranTing","id":13476576,"avatar_url":"https://avatars1.githubusercontent.com/u/13476576?v=4","gravatar_id":"","url":"https://api.github.com/users/OranTing","html_url":"https://github.com/OranTing","followers_url":"https://api.github.com/users/OranTing/followers","following_url":"https://api.github.com/users/OranTing/following{/other_user}","gists_url":"https://api.github.com/users/OranTing/gists{/gist_id}","starred_url":"https://api.github.com/users/OranTing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OranTing/subscriptions","organizations_url":"https://api.github.com/users/OranTing/orgs","repos_url":"https://api.github.com/users/OranTing/repos","events_url":"https://api.github.com/users/OranTing/events{/privacy}","received_events_url":"https://api.github.com/users/OranTing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-19T03:38:00Z","updated_at":"2017-12-19T03:38:00Z","closed_at":null,"author_association":"NONE","body":"- Laravel Version: 5.5\r\n- PHP Version: 7.1\r\n- Laravel-admin: 1.5.dev\r\n\r\n### Description:\r\n\r\nUser模型里定义了 getPhotoCountAttribute 方法。\r\n\r\n在 laravel-admin 里 使用 $grid->column('photo_count','照片数量'); 无法获得对应的数据。\r\n\r\n这个应该如何解决呢？\r\n"}}
{"actor":{"display_login":"OranTing"}}