zyy
2025-08-13 4aaadc1b51f14c1022ea8e3fc9dc4a156a9c5f39
src/main/java/com/nq/controller/protol/UserController.java
@@ -352,6 +352,9 @@
    @ResponseBody
    public ServerResponse transfer(@RequestParam("fromType") String fromType, @RequestParam("toType") String toType,
                                   @RequestParam("amt") String amt,  HttpServletRequest request) {
        if (fromType.equals(toType)) {
            return ServerResponse.createByErrorMsg("货币类型不能相同", request);
        }
        return  iUserService.transfer(fromType, toType, amt,request);
    }