@RequestMapping("/Sku_Make_upTUUS")
public String Sku_Make_upTUUS(@RequestParam(defaultValue = "1") Integer pageNo, Model model, String username, String skuf, String chanpinxian, Date indat, Date indatend, String dianpu) {
Skumake(pageNo,model,username, skuf, chanpinxian, indat, indatend, dianpu);
return "/Sku_Make_upTUUS";
}
你这需要 有返回体,在你的 方法上加个 @ResponseBody
var html, titleText;
// load the response body as HTML using cheerio
// and using cheerio's jQuery like .find API, get the H1 tag
html = cheerio(responseBody);
titleText = html.find('h1').text();
// add a test that ensures that there is some H1 content
tests["page must have h1 heading"] = Boolean(titleText);