| | |
| | | import com.xcong.excoin.common.entity.QueryRequest;
|
| | | import com.xcong.excoin.modules.documentary.dto.FollowTraderInfoDto;
|
| | | import com.xcong.excoin.modules.documentary.entity.FollowTraderInfoEntity;
|
| | | import com.xcong.excoin.modules.documentary.entity.FollowTraderLabelEntity;
|
| | | import com.xcong.excoin.modules.documentary.service.DocumentaryService;
|
| | | import com.xcong.excoin.modules.member.dto.MemberDetailConfirmDto;
|
| | | import com.xcong.excoin.modules.systemSetting.entity.PlatformBannerEntity;
|
| | |
|
| | | import lombok.RequiredArgsConstructor;
|
| | | import lombok.extern.slf4j.Slf4j;
|
| | |
| | | private final DocumentaryService documentaryService;
|
| | |
|
| | | /**
|
| | | * 标签---列表
|
| | | * @return
|
| | | */
|
| | | @GetMapping("traderLabelList")
|
| | | public FebsResponse traderLabelList(FollowTraderLabelEntity followTraderLabelEntity, QueryRequest request) {
|
| | | Map<String, Object> data = getDataTable(documentaryService.traderLabelList(followTraderLabelEntity, request));
|
| | | return new FebsResponse().success().data(data);
|
| | | }
|
| | | |
| | | /**
|
| | | * 标签---删除
|
| | | * @return
|
| | | */
|
| | | @GetMapping("traderLabelDelete/{id}")
|
| | | @ControllerEndpoint(operation = "标签---删除", exceptionMessage = "删除失败")
|
| | | public FebsResponse traderLabelDelete(@NotNull(message = "{required}") @PathVariable Long id) {
|
| | | return documentaryService.traderLabelDelete(id);
|
| | | }
|
| | | |
| | | /**
|
| | | * 标签---新增
|
| | | */
|
| | | @PostMapping("followLabelSetAdd")
|
| | | @ControllerEndpoint(operation = "标签---新增", exceptionMessage = "新增失败")
|
| | | public FebsResponse followLabelSetAdd(@Valid FollowTraderLabelEntity followTraderLabelEntity) {
|
| | | documentaryService.followLabelSetAdd(followTraderLabelEntity);
|
| | | return new FebsResponse().success();
|
| | | }
|
| | | |
| | | /**
|
| | | * 标签---修改
|
| | | */
|
| | | @PostMapping("followLabelSetUpdate")
|
| | | @ControllerEndpoint(operation = "标签---修改", exceptionMessage = "修改失败")
|
| | | public FebsResponse followLabelSetUpdate(@Valid FollowTraderLabelEntity followTraderLabelEntity) {
|
| | | documentaryService.followLabelSetUpdate(followTraderLabelEntity);
|
| | | return new FebsResponse().success();
|
| | | }
|
| | | |
| | | /**
|
| | | * 交易员申请---列表
|
| | | * @return
|
| | | */
|