| | |
| | | import com.xcong.excoin.modules.otc.mapper.OtcMarketBussinessMapper; |
| | | import com.xcong.excoin.modules.otc.service.OtcEntrustOrderService; |
| | | import com.xcong.excoin.modules.otc.service.OtcMarketBussinessService; |
| | | import com.xcong.excoin.modules.otc.vo.ApplyConditionsVo; |
| | | import com.xcong.excoin.modules.otc.vo.MarketBussinessInfoVo; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | private final MemberWalletCoinDao memberWalletCoinDao; |
| | | private final MemberDao memberDao; |
| | | |
| | | @ApiOperation(value = "申请条件", notes = "申请条件") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "获取成功", response = ApplyConditionsVo.class) |
| | | }) |
| | | @PostMapping(value = "/applyConditions") |
| | | public Result applyConditions() { |
| | | return otcMarketBussinessService.applyConditions(); |
| | | } |
| | | |
| | | @ApiOperation(value = "applyMarketBussiness", notes = "申请市商接口") |
| | | |
| | | @ApiOperation(value = "申请市商接口", notes = "申请市商接口") |
| | | @PostMapping(value = "/applyMaketBussiness") |
| | | public Result applyMarketBussiness(@RequestBody MbAddDto mbAddDto) { |
| | | otcMarketBussinessService.add(mbAddDto); |
| | | public Result applyMarketBussiness() { |
| | | otcMarketBussinessService.add(); |
| | | return Result.ok("申请成功, 等待审核"); |
| | | } |
| | | |