2016-08-14 76 views

回答

0

假设你有包com.foo.bar要脚手架的领域类Thing,运行

grails generate-all com.foo.bar.Thing 

创建一个脚手架控制器和GSP,以及控制器单元测试。