grails限制方法的提交方式
static allowedMethods = [
startCharging: "POST",
stopCharging: "POST",
billingModel: "POST",
withhold: "POST"
]
startCharging -> 方法名
放置在controller的最上方即可
grails限制方法的提交方式
static allowedMethods = [
startCharging: "POST",
stopCharging: "POST",
billingModel: "POST",
withhold: "POST"
]
startCharging -> 方法名
放置在controller的最上方即可
本文标题:grails限制方法的提交方式
本文链接:https://www.haomeiwen.com/subject/rbtogttx.html
网友评论