新增用户设置保存接口描述及框架。

This commit is contained in:
zhouxiunai
2018-11-01 14:31:42 +08:00
parent f0a08e822b
commit b90eaad308
@@ -3,6 +3,8 @@ package com.gzzn.omms.adminapi.controller.settings;
import java.util.List;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@@ -33,4 +35,17 @@ public class UISettingsController {
{
return ResponseDto.failure(ResultCode.INTERFACE_NOT_IMPLEMENT);
}
/**
* 保存用户设置(更新或者新增)
* @param uisettingsDto
* @return
*/
@ApiOperation(value="保存当前用户的UI设置",tags="UI设置")
@PostMapping(value="/settings/uisettings")
public ResponseDto saveUISettings(@RequestBody UisettingsDto uisettingsDto)
{
return ResponseDto.failure(ResultCode.INTERFACE_NOT_IMPLEMENT);
}
}