{"action":"created","issue":{"url":"https://api.github.com/repos/wzxjohn/moeSS/issues/26","labels_url":"https://api.github.com/repos/wzxjohn/moeSS/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/wzxjohn/moeSS/issues/26/comments","events_url":"https://api.github.com/repos/wzxjohn/moeSS/issues/26/events","html_url":"https://github.com/wzxjohn/moeSS/issues/26","id":56387594,"number":26,"title":"管理套餐和购买流量界面都打不开","user":{"login":"JAM2199562","id":10511667,"avatar_url":"https://avatars.githubusercontent.com/u/10511667?v=3","gravatar_id":"","url":"https://api.github.com/users/JAM2199562","html_url":"https://github.com/JAM2199562","followers_url":"https://api.github.com/users/JAM2199562/followers","following_url":"https://api.github.com/users/JAM2199562/following{/other_user}","gists_url":"https://api.github.com/users/JAM2199562/gists{/gist_id}","starred_url":"https://api.github.com/users/JAM2199562/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JAM2199562/subscriptions","organizations_url":"https://api.github.com/users/JAM2199562/orgs","repos_url":"https://api.github.com/users/JAM2199562/repos","events_url":"https://api.github.com/users/JAM2199562/events{/privacy}","received_events_url":"https://api.github.com/users/JAM2199562/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-03T14:54:19Z","updated_at":"2015-02-03T15:23:11Z","closed_at":"2015-02-03T15:05:46Z","body":"首先解释一下，本人不懂代码，github也不太会用，小白之处还望体谅，你这个项目蛮好的，我拿来做前端跟几个朋友分享，感谢您的劳动。\r\nsql已经正常导入了，也能看见goods的表了，下面是问题的描述。\r\n管理界面：admin/goods.html\r\n报错：The page you requested was not found.\r\n购买界面：user/view_goods.html\r\n报错：\r\nFatal error: Call to undefined method User_model::get_goods() in /webroot/application/controllers/User.php on line 902\r\n\r\n\r\nA PHP Error was encountered\r\n\r\nSeverity: Error\r\n\r\nMessage: Call to undefined method User_model::get_goods()\r\n\r\nFilename: controllers/User.php\r\n\r\nLine Number: 902\r\n\r\nBacktrace:\r\n\r\n然后我简单做了个grep，大概是这个样子的\r\n grep -ri get_goods ./*\r\n./application/controllers/User.php:            $data['goods'] = $this->user_model->get_goods();\r\n不懂代码，但是感觉这个get_goods就出现了一次怎么都不对吧？\r\n"},"comment":{"url":"https://api.github.com/repos/wzxjohn/moeSS/issues/comments/72668900","html_url":"https://github.com/wzxjohn/moeSS/issues/26#issuecomment-72668900","issue_url":"https://api.github.com/repos/wzxjohn/moeSS/issues/26","id":72668900,"user":{"login":"JAM2199562","id":10511667,"avatar_url":"https://avatars.githubusercontent.com/u/10511667?v=3","gravatar_id":"","url":"https://api.github.com/users/JAM2199562","html_url":"https://github.com/JAM2199562","followers_url":"https://api.github.com/users/JAM2199562/followers","following_url":"https://api.github.com/users/JAM2199562/following{/other_user}","gists_url":"https://api.github.com/users/JAM2199562/gists{/gist_id}","starred_url":"https://api.github.com/users/JAM2199562/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JAM2199562/subscriptions","organizations_url":"https://api.github.com/users/JAM2199562/orgs","repos_url":"https://api.github.com/users/JAM2199562/repos","events_url":"https://api.github.com/users/JAM2199562/events{/privacy}","received_events_url":"https://api.github.com/users/JAM2199562/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T15:23:11Z","updated_at":"2015-02-03T15:23:11Z","body":"支付功能我也用不到，这个无所谓，不过以后完美一点的话，把这个报错页面隐藏了或者在页面上显示为不可用应该会比现在好一点。\r\n那个/user.html 咋说呢，页面最上面多了一堆报错，但是拉到最下面，还真是都完整显示了，也许这个也跟支付功能有关？"}}