【发布时间】:2023-04-06 08:51:01
【问题描述】:
注意:第二个动作只允许 POST 方法。我们不能点击用户的那个动作。
static allowedMethods = [save: "POST",booked:"POST"]
def save()
{
// did save operation here
redirect action:'booked'
}
def booked()
{
//did the operation related with this
render view :'payment'
}
【问题讨论】:
-
你到底想做什么?
标签: grails