欢迎访问我的个人网站==》 jiashubing.cn

get请求如何传递数组

Java中的参数为
@RequestParam(value = "keys[]") String[] keys

 

Url参数是这样的:
keys%5B%5D=logo&keys%5B%5D=logoutUrl&keys%5B%5D=registerProtocolTitle&keys%5B%5D=registerProtocolUrl&keys%5B%5D=privacyAgreementTitle&keys%5B%5D=privacyAgreementUrl&isAjax=1&locale=id_ID

 

posted @ 2023-09-28 16:47  贾树丙  阅读(352)  评论(0编辑  收藏  举报