| 123456789101112131415161718192021222324252627282930 |
- package com.crm.manager.controller;
- import com.crm.manager.service.ib.AgentBalanceFrozenFeignService;
- import com.crm.rely.backend.core.dto.base.BaseResultDto;
- import com.crm.rely.backend.core.entity.custom.info.InfoEntity;
- import com.crm.rely.backend.core.entity.ib.balance.AgentBalanceFrozenAddEntity;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.validation.annotation.Validated;
- import org.springframework.web.bind.annotation.PostMapping;
- import org.springframework.web.bind.annotation.RequestBody;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- /**
- * Created by max on 2020/11/20.
- */
- @RestController
- @RequestMapping("/agent/balance/frozen")
- public class AgentBalanceFrozenController {
- @Autowired
- private AgentBalanceFrozenFeignService agentBalanceFrozenFeignService;
- @PostMapping("/add")
- public BaseResultDto<Object> add(@RequestBody @Validated AgentBalanceFrozenAddEntity entity, InfoEntity infoEntity) throws Exception {
- return agentBalanceFrozenFeignService.add(entity);
- }
- }
|