puzhibing
2023-06-30 f58cca364b731eac2d60a440ffaa804be3cd43fd
driver/guns-admin/src/main/java/com/agentdriving/driver/modular/system/api/DriverController.java
@@ -718,6 +718,8 @@
                PrintWriter out;
                out = response.getWriter();
                out.println("success"); // 请不要修改或删除
                out.flush();
                out.close();
            }
        }catch (Exception e){
            e.printStackTrace();
@@ -863,7 +865,7 @@
                return ResponseWarpper.success();
            }
            ResultUtil resultUtil = ResultUtil.success();
            phone = phone.indexOf("+86") < 0 ? "+86" + phone : phone;
            phone = "+86" + phone;
            String value = redisUtil.getValue(phone);
            if(ToolUtil.isEmpty(value) || !value.equals(code)){
                resultUtil = ResultUtil.error("验证码无效");