| | |
| | | import cc.mrbird.febs.mall.dto.*; |
| | | import cc.mrbird.febs.mall.entity.MallMember; |
| | | import cc.mrbird.febs.mall.entity.MallMemberPayment; |
| | | import cc.mrbird.febs.mall.service.IApiMallMemberService; |
| | | import cc.mrbird.febs.mall.service.IApiMallMemberWalletService; |
| | | import cc.mrbird.febs.mall.service.ICommonService; |
| | | import cc.mrbird.febs.mall.service.IMallMemberWithdrawService; |
| | | import cc.mrbird.febs.mall.service.*; |
| | | import cc.mrbird.febs.mall.vo.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | private final IApiMallMemberService memberService; |
| | | private final IMallMemberWithdrawService mallMemberWithdrawService; |
| | | private final IApiMallMemberWalletService walletService; |
| | | private final IApiMallAgentService iApiMallAgentService; |
| | | |
| | | /** |
| | | * 小程序接收用户数据,更新用户信息 |
| | |
| | | return memberService.rechargeWallet(apiRechargeWalletDto); |
| | | } |
| | | |
| | | /** |
| | | * 申请代理 |
| | | * @param apiAgentApplyDto |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "申请代理") |
| | | @PostMapping(value = "/agentApply") |
| | | public FebsResponse agentApply(@RequestBody @Validated ApiAgentApplyDto apiAgentApplyDto) { |
| | | return iApiMallAgentService.agentApply(apiAgentApplyDto); |
| | | } |
| | | |
| | | } |