|
|
|
|
42
|
* @param pageSize
|
42
|
* @param pageSize
|
43
|
* @return
|
43
|
* @return
|
44
|
*/
|
44
|
*/
|
45
|
- @RequestMapping(value="/extendContent",method= RequestMethod.GET)
|
|
|
|
|
45
|
+ @RequestMapping(value="/admin/extendContent",method= RequestMethod.GET)
|
46
|
public ResponseBean extendContentList(@RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
|
46
|
public ResponseBean extendContentList(@RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
|
47
|
@RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize){
|
47
|
@RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize){
|
48
|
ResponseBean responseBean = new ResponseBean();
|
48
|
ResponseBean responseBean = new ResponseBean();
|
|
|
|
|
72
|
* @param extendContent 实体对象
|
72
|
* @param extendContent 实体对象
|
73
|
* @return
|
73
|
* @return
|
74
|
*/
|
74
|
*/
|
75
|
- @RequestMapping(value="/extendContent",method= RequestMethod.POST)
|
|
|
|
|
75
|
+ @RequestMapping(value="/admin/extendContent",method= RequestMethod.POST)
|
76
|
public ResponseBean extendContentAdd(@RequestBody ExtendContent extendContent){
|
76
|
public ResponseBean extendContentAdd(@RequestBody ExtendContent extendContent){
|
77
|
ResponseBean responseBean= iExtendContentService.extendContentAdd(extendContent);
|
77
|
ResponseBean responseBean= iExtendContentService.extendContentAdd(extendContent);
|
78
|
responseBean.addSuccess(extendContent);
|
78
|
responseBean.addSuccess(extendContent);
|
|
|
|
|
84
|
* @param id 实体ID
|
84
|
* @param id 实体ID
|
85
|
*/
|
85
|
*/
|
86
|
@ResponseBody
|
86
|
@ResponseBody
|
87
|
- @RequestMapping(value="/extendContent/{id}", method= RequestMethod.DELETE)
|
|
|
|
|
87
|
+ @RequestMapping(value="/admin/extendContent/{id}", method= RequestMethod.DELETE)
|
88
|
public ResponseBean extendContentDelete(@PathVariable Integer id){
|
88
|
public ResponseBean extendContentDelete(@PathVariable Integer id){
|
89
|
ResponseBean responseBean = new ResponseBean();
|
89
|
ResponseBean responseBean = new ResponseBean();
|
90
|
try {
|
90
|
try {
|
|
|
|
|
107
|
* @param extendContent 实体对象
|
107
|
* @param extendContent 实体对象
|
108
|
* @return
|
108
|
* @return
|
109
|
*/
|
109
|
*/
|
110
|
- @RequestMapping(value="/extendContent/{id}",method= RequestMethod.PUT)
|
|
|
|
|
110
|
+ @RequestMapping(value="/admin/extendContent/{id}",method= RequestMethod.PUT)
|
111
|
public ResponseBean extendContentUpdate(@PathVariable Integer id,
|
111
|
public ResponseBean extendContentUpdate(@PathVariable Integer id,
|
112
|
@RequestBody ExtendContent extendContent){
|
112
|
@RequestBody ExtendContent extendContent){
|
113
|
ResponseBean responseBean = new ResponseBean();
|
113
|
ResponseBean responseBean = new ResponseBean();
|
|
|
|
|
129
|
* 根据id查询对象
|
129
|
* 根据id查询对象
|
130
|
* @param id 实体ID
|
130
|
* @param id 实体ID
|
131
|
*/
|
131
|
*/
|
132
|
- @RequestMapping(value="/extendContent/{id}",method= RequestMethod.GET)
|
|
|
|
|
132
|
+ @RequestMapping(value="/admin/extendContent/{id}",method= RequestMethod.GET)
|
133
|
public ResponseBean extendContentGet(@PathVariable Integer id){
|
133
|
public ResponseBean extendContentGet(@PathVariable Integer id){
|
134
|
ResponseBean responseBean = new ResponseBean();
|
134
|
ResponseBean responseBean = new ResponseBean();
|
135
|
try {
|
135
|
try {
|