提交 d2f3bc99 authored 作者: huyufan's avatar huyufan

APP司机账户

上级 ec552233
...@@ -11,10 +11,7 @@ import io.swagger.annotations.ApiOperation; ...@@ -11,10 +11,7 @@ import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@Slf4j @Slf4j
@RestController @RestController
...@@ -28,7 +25,7 @@ public class AppDriverAccountController { ...@@ -28,7 +25,7 @@ public class AppDriverAccountController {
@ApiOperation(value = "APP司机账户", notes = "<br>By:胡宇帆") @ApiOperation(value = "APP司机账户", notes = "<br>By:胡宇帆")
@PostMapping("/account") @GetMapping("/account")
@UnitCovert(param = false) @UnitCovert(param = false)
public Result<WalletResidueCardVO> account(@RequestParam(value = "userCode") Integer userCode) { public Result<WalletResidueCardVO> account(@RequestParam(value = "userCode") Integer userCode) {
WalletResidueCardVO walletResidueCardVO = networkDriverAccountService.account(userCode); WalletResidueCardVO walletResidueCardVO = networkDriverAccountService.account(userCode);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论