如下这样一个表单
<form id="excelform" action="/private/manager/report/order/exportExcel" method="post" target="_blank">
<input type="hidden" id="orderCode" name="orderCode" value="">
<input type="hidden" id="startTime" name="startTime" value="">
<input type="hidden" id="endTime" name="endTime" value="">
<input type="hidden" id="username" name="username" value="杨">
<input type="hidden" id="sup_name" name="sup_name" value="">
<input type="hidden" id="phone" name="phone" value="">
<input type="hidden" id="status" name="status" value="">
<input type="hidden" id="proName" name="proName" value="">
<input type="hidden" id="payMode" name="payMode" value="支付宝">
</form>
传递给如下后台
@At
@Ok("raw")
@RequiresAuthentication
@AdaptBy(type= JsonAdaptor.class)
public Object exportExcel(@Param("orderCode")String orderCode,
@Param("username")String userName,
@Param("sup_name")String supName ,
@Param("startTime")String startTime,
@Param("endTime")String endTime,
@Param("phone") String phone,
@Param("status")String status ,
@Param("proName")String proName,
@Param("payMode")String payMode,
HttpServletRequest request) {
参数取得的是乱码