Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6c936b6d
authored
Jul 31, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化接口
1 parent
cd3bd205
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
project-order/src/main/java/com/dituhui/pea/order/controller/BusinessLayerController.java
project-order/src/main/java/com/dituhui/pea/order/controller/BusinessLayerController.java
View file @
6c936b6
package
com
.
dituhui
.
pea
.
order
.
controller
;
import
com.dituhui.pea.common.Result
;
import
com.dituhui.pea.order.dto.BusinessCustomLayerAddReqDTO
;
import
com.dituhui.pea.order.dto.BusinessCustomLayerUpdateReqDTO
;
import
org.springframework.stereotype.Controller
;
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.RequestMapping
;
@Controller
@RequestMapping
(
"/pea-order"
)
public
class
BusinessLayerController
{
/**
* 获取通用图层
*
...
...
@@ -52,10 +54,14 @@ public class BusinessLayerController {
/**
* 新增自定义图层
*
* @param reqDTO::branchId 分部ID
* @param reqDTO::layerName 图层名称
* @param reqDTO::layerDesc 图层描述
* @param reqDTO::skills 技能code列表
* @return
*/
@PostMapping
(
"/business/layer/custom/add"
)
public
Result
<?>
businessCustomLayerAdd
()
{
public
Result
<?>
businessCustomLayerAdd
(
@RequestBody
BusinessCustomLayerAddReqDTO
reqDTO
)
{
// 自定义图层新增
return
null
;
}
...
...
@@ -63,11 +69,13 @@ public class BusinessLayerController {
/**
* 修改自定义图层
*
* @param layerId 图层ID
* @param reqDTO::layerId 图层ID
* @param reqDTO::layerDesc 图层描述
* @param reqDTO::skills 技能code列表
* @return
*/
@PostMapping
(
"/business/layer/custom/update"
)
public
Result
<?>
businessCustomLayerUpdate
(
String
layerId
)
{
public
Result
<?>
businessCustomLayerUpdate
(
@RequestBody
BusinessCustomLayerUpdateReqDTO
reqDTO
)
{
// 自定义图层修改
return
null
;
}
...
...
@@ -78,7 +86,7 @@ public class BusinessLayerController {
* @param layerId 图层ID
* @return
*/
@
Pos
tMapping
(
"/business/layer/custom/remove"
)
@
Ge
tMapping
(
"/business/layer/custom/remove"
)
public
Result
<?>
businessCustomLayerRemove
(
String
layerId
)
{
// 自定义图层删除
return
null
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment