xiaoyong931011
2021-05-26 0ca7bf5c850eaef852a6b49d4b94e8366deedb29
src/main/java/com/xcong/excoin/modules/otc/controller/OtcMarketBussinessController.java
@@ -36,10 +36,10 @@
    private final MemberDao memberDao;
//    @ApiOperation(value = "applyMarketBussiness", notes = "申请市商接口")
    @ApiOperation(value = "applyMarketBussiness", notes = "申请市商接口")
    @PostMapping(value = "/applyMaketBussiness")
    public Result applyMarketBussiness(@RequestBody MbAddDto mbAddDto) {
        otcMarketBussinessService.add(mbAddDto);
    public Result applyMarketBussiness() {
        otcMarketBussinessService.add();
        return Result.ok("申请成功, 等待审核");
    }
@@ -66,7 +66,7 @@
        return Result.ok("修改成功");
    }
//    @ApiOperation(value = "findMarketBussinessStatus", notes = "获取市商申请状态接口")
    @ApiOperation(value = "findMarketBussinessStatus", notes = "获取市商申请状态接口")
    @GetMapping(value = "/findMarketBussinessStatus")
    public Result findMarketBussinessStatus() {
        return Result.ok("获取成功", otcMarketBussinessService.findMbStatus());