Helius
2021-05-19 66925e72f4e0abe2a0c0c1772cc410a6c29b3e31
src/main/java/com/xcong/excoin/modules/otc/controller/OtcMarketBussinessController.java
@@ -32,14 +32,14 @@
    private final OtcEntrustOrderService otcEntrustOrderService;
    @ApiOperation(value = "applyMarketBussiness", notes = "申请市商接口")
//    @ApiOperation(value = "applyMarketBussiness", notes = "申请市商接口")
    @PostMapping(value = "/applyMaketBussiness")
    public Result applyMarketBussiness(@RequestBody MbAddDto mbAddDto) {
        otcMarketBussinessService.add(mbAddDto);
        return Result.ok("申请成功, 等待审核");
    }
    @ApiOperation(value = "modifyMarketBussiness", notes = "修改个人信息")
//    @ApiOperation(value = "modifyMarketBussiness", notes = "修改个人信息")
    @PostMapping(value = "/modifyMarketBussiness")
    public Result modifyMarketBussiness(@RequestBody MbAddDto mbAddDto) {
        if (mbAddDto.getId() == null) {
@@ -62,12 +62,13 @@
        return Result.ok("修改成功");
    }
    @ApiOperation(value = "findMarketBussinessStatus", notes = "获取市商申请状态接口")
//    @ApiOperation(value = "findMarketBussinessStatus", notes = "获取市商申请状态接口")
    @GetMapping(value = "/findMarketBussinessStatus")
    public Result findMarketBussinessStatus() {
        return Result.ok("获取成功", otcMarketBussinessService.findMbStatus());
    }
    @ApiOperation(value = "findMbInfo", notes = "获取市商信息")
    @ApiResponses({
            @ApiResponse(code = 200, message = "获取成功", response = MarketBussinessInfoVo.class)