Commit 19e4e3b4 authored by suntao's avatar suntao

接口注释

parent a0142d4b
...@@ -25,9 +25,9 @@ public class ChannelConfController { ...@@ -25,9 +25,9 @@ public class ChannelConfController {
/** /**
* 查询渠道列表 * 查询渠道列表,如果是渠道角色登陆,只能查询自己渠道
* *
* @param channelId 在接受参数时,必须放到第一个参数位置 * @param channelId
* @param pageNumber * @param pageNumber
* @param pageSize * @param pageSize
* @return * @return
...@@ -38,6 +38,12 @@ public class ChannelConfController { ...@@ -38,6 +38,12 @@ public class ChannelConfController {
return Result.buildSuccess(channelConfService.getChannelInfo(pageNumber, pageSize, channelId)); return Result.buildSuccess(channelConfService.getChannelInfo(pageNumber, pageSize, channelId));
} }
/**
* 查询单个渠道配置
* 去过是渠道用户,只能查自己,查询条件置灰
* @param channelId
* @return
*/
@ChannelIdInit @ChannelIdInit
@CheckChannelRole @CheckChannelRole
@GetMapping("/cfg/info") @GetMapping("/cfg/info")
...@@ -46,6 +52,11 @@ public class ChannelConfController { ...@@ -46,6 +52,11 @@ public class ChannelConfController {
} }
/**
* 修改渠道配置,如果是渠道角色登陆 只能修改自己渠道信息
* @param channelConfVo
* @return
*/
@CheckChannelRole(isObjParam = true, paramClazz = ChannelConfVo.class) @CheckChannelRole(isObjParam = true, paramClazz = ChannelConfVo.class)
@PostMapping("/cfg/info") @PostMapping("/cfg/info")
public Result editChannelConfInfo(@RequestBody @Valid ChannelConfVo channelConfVo) { public Result editChannelConfInfo(@RequestBody @Valid ChannelConfVo channelConfVo) {
......
...@@ -28,7 +28,7 @@ public class OrderController { ...@@ -28,7 +28,7 @@ public class OrderController {
private OrderService orderService; private OrderService orderService;
/** /**
* 订单查询接口 * 订单查询列表接口
* *
* @param channelId * @param channelId
* @param channelOrderNumber * @param channelOrderNumber
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment