| | |
| | | import cc.mrbird.febs.common.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.entity.QueryRequest; |
| | | import cc.mrbird.febs.mall.dto.*; |
| | | import cc.mrbird.febs.mall.entity.AppVersion; |
| | | import cc.mrbird.febs.mall.entity.MallMember; |
| | | import cc.mrbird.febs.mall.entity.MallNewsInfo; |
| | | import cc.mrbird.febs.mall.entity.MallShopApply; |
| | | import cc.mrbird.febs.mall.entity.*; |
| | | import cc.mrbird.febs.mall.service.IAdminMallMemberService; |
| | | import cc.mrbird.febs.mall.service.IApiMallMemberService; |
| | | import cc.mrbird.febs.mall.vo.AdminAgentLevelOptionTreeVo; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | * 会员列表-资金流水 |
| | | */ |
| | | @GetMapping("/moneyFlow") |
| | | @RequiresPermissions("moneyFlow:update") |
| | | public FebsResponse moneyFlow(QueryRequest request, MallMember mallMember, Integer parentId) { |
| | | if (parentId == null) { |
| | | ViewMallMemberController.idFromMoneyFlow = 0; |
| | |
| | | return new FebsResponse().success().message("操作成功"); |
| | | } |
| | | |
| | | @PostMapping("updateShopApply") |
| | | @ControllerEndpoint(operation = "商户申请编辑", exceptionMessage = "操作失败") |
| | | public FebsResponse updateShopApply(@Valid MallShopApply apply) { |
| | | mallMemberService.updateShopApply(apply); |
| | | return new FebsResponse().success(); |
| | | } |
| | | |
| | | @PostMapping("/refererIdUpdate") |
| | | @ControllerEndpoint(operation = "修改推荐人", exceptionMessage = "修改失败") |
| | | public FebsResponse refererIdUpdate(MallMember member) { |