新增用户设置保存接口描述及框架。
This commit is contained in:
@@ -3,6 +3,8 @@ package com.gzzn.omms.adminapi.controller.settings;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
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.RequestParam;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
@@ -33,4 +35,17 @@ public class UISettingsController {
|
|||||||
{
|
{
|
||||||
return ResponseDto.failure(ResultCode.INTERFACE_NOT_IMPLEMENT);
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user