我的测试



  • 1.使用说明书

    @RestController
    public class GengderController {
    
        @Autowired
        GengderService gengderService;
    
        @PostMapping("/getGengder")
        public ReturnVo getGengderService(@RequestBody GengerVo gengerVo) {
            try {
                String num = gengderService.getGengder(gengerVo.getName());
                return ReturnVo.success(num);
            } catch (MyException e) {
                return ReturnVo.exception(e);
            }
        }
    }
    

Log in to reply
 

Suggested Topics

  • 2
  • 8
  • 2
  • 3
  • 6
| |