|
|
@@ -1,5 +1,6 @@
|
|
|
package com.storlead.centre.app;
|
|
|
|
|
|
+import com.storlead.centre.entity.SysAppPageInfoEntity;
|
|
|
import com.storlead.centre.service.SysAppPageInfoService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
@@ -14,11 +15,19 @@ import javax.annotation.Resource;
|
|
|
*/
|
|
|
|
|
|
@RestController
|
|
|
-@RequestMapping("/app/page/manage")
|
|
|
+@RequestMapping("/app-centre/page/manage")
|
|
|
@Api(tags = "2.应用页面管理")
|
|
|
public class AppPageManageApiController {
|
|
|
|
|
|
@Resource
|
|
|
private SysAppPageInfoService sysAppPageInfoService;
|
|
|
|
|
|
+ @PostMapping(value = "/save")
|
|
|
+ @ApiOperation(value = "应用管理--新增/编辑", notes = "应用管理-新增/编辑")
|
|
|
+ @Transactional(rollbackFor = Throwable.class)
|
|
|
+ public Result<?> save(@RequestBody SysAppPageInfoEntity info) {
|
|
|
+ sysAppPageInfoService.save(info);
|
|
|
+ return Result.ok();
|
|
|
+ }
|
|
|
+
|
|
|
}
|