摘要: 在controller添加一个test方法, 不需参数 @http.route('/test', type = 'json', auth = 'public') def test(self): phases = http.request.env['project.task.type'].search 阅读全文
posted @ 2017-06-08 11:44 553490191 阅读(1803) 评论(0) 推荐(0) 编辑