3 files modified
3 files added
| | |
| | | public Result memberTeam(@RequestBody @Valid MemberTeamRecordsPageDto memberTeamRecordsPageDto) {
|
| | | return memberService.memberTeam(memberTeamRecordsPageDto);
|
| | | }
|
| | |
|
| | | /**
|
| | | * 获取内转提币地址
|
| | | * @return
|
| | | */
|
| | | @ApiOperation(value = "获取内转提币地址列表", notes = "获取内转提币地址列表")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = MemberCoinAddressInListVo.class)})
|
| | | @GetMapping(value = "/memberCoinAddressInList")
|
| | | public Result memberCoinAddressInList() {
|
| | | return memberService.memberCoinAddressInList();
|
| | | }
|
| | |
|
| | | }
|
New file |
| | |
| | | package com.xcong.excoin.modules.member.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.xcong.excoin.modules.member.entity.MemberCoinAddressInEntity; |
| | | |
| | | public interface MemberCoinAddressInDao extends BaseMapper<MemberCoinAddressInEntity> { |
| | | |
| | | } |
New file |
| | |
| | | package com.xcong.excoin.modules.member.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.xcong.excoin.common.system.base.BaseEntity; |
| | | |
| | | import lombok.Data; |
| | | |
| | | @Data |
| | | @TableName("member_coin_address_in") |
| | | public class MemberCoinAddressInEntity extends BaseEntity { |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | /** |
| | | * 会员ID |
| | | */ |
| | | private Long memberId; |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String content; |
| | | /** |
| | | * 账号 |
| | | */ |
| | | private String account; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.xcong.excoin.modules.member.parameter.vo; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | @Data |
| | | @ApiModel(value = "MemberCoinAddressInListVo", description = "返回") |
| | | public class MemberCoinAddressInListVo { |
| | | |
| | | @ApiModelProperty(value = "ID") |
| | | private Long id; |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @ApiModelProperty(value = "备注") |
| | | private String content; |
| | | /** |
| | | * 账号 |
| | | */ |
| | | @ApiModelProperty(value = "账号") |
| | | private String account; |
| | | |
| | | |
| | | } |
| | |
| | | public Result getPcVersionInfo();
|
| | |
|
| | | Result memberTeam(MemberTeamRecordsPageDto memberTeamRecordsPageDto);
|
| | |
|
| | | Result memberCoinAddressInList();
|
| | | }
|
| | |
| | | private MemberWalletCoinDao memberWalletCoinDao; |
| | | |
| | | @Resource |
| | | private MemberCoinAddressInDao memberCoinAddressInDao; |
| | | |
| | | @Resource |
| | | private ZhiYaDao zhiYaDao; |
| | | |
| | | @Resource |
| | |
| | | } |
| | | return Result.ok(memberTeamVo); |
| | | } |
| | | |
| | | @Override |
| | | public Result memberCoinAddressInList() { |
| | | //获取用户ID |
| | | Long memberId = LoginUserUtils.getAppLoginUser().getId(); |
| | | |
| | | Map<String, Object> columnMap = new HashMap<>(); |
| | | columnMap.put("member_id", memberId); |
| | | List<MemberCoinAddressInEntity> selectByMap = memberCoinAddressInDao.selectByMap(columnMap ); |
| | | List<MemberCoinAddressInListVo> arrayList = new ArrayList<>(); |
| | | if (CollUtil.isNotEmpty(selectByMap)) { |
| | | for (MemberCoinAddressInEntity memberCoinAddressInEntity : selectByMap) { |
| | | MemberCoinAddressInListVo memberCoinAddressInListVo = new MemberCoinAddressInListVo(); |
| | | memberCoinAddressInListVo.setId(memberCoinAddressInEntity.getId()); |
| | | memberCoinAddressInListVo.setAccount(memberCoinAddressInEntity.getAccount()); |
| | | memberCoinAddressInListVo.setContent(memberCoinAddressInEntity.getContent()); |
| | | arrayList.add(memberCoinAddressInListVo); |
| | | } |
| | | } |
| | | return Result.ok(arrayList); |
| | | } |
| | | } |
| | | |
| | | |