parent
c8fc88b242
commit
df031b2513
@ -1,13 +1,18 @@
|
|||||||
package com.ssm.controller;
|
package com.ssm.controller;
|
||||||
|
|
||||||
|
import com.ssm.entity.Cate;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
|
@RequestMapping("testFC")
|
||||||
public class FirstController {
|
public class FirstController {
|
||||||
@RequestMapping("hello")
|
@RequestMapping("object")
|
||||||
public String hello() {
|
public String hello(Cate cate) {
|
||||||
System.out.println("1111");
|
System.out.println("cateid:"+cate.getCateid());
|
||||||
|
System.out.println("catename:"+cate.getCatename());
|
||||||
|
System.out.println("addtime:"+cate.getAddtime());
|
||||||
|
System.out.println("memo:"+cate.getMemo());
|
||||||
return "showFirst";
|
return "showFirst";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue