Commit a79d73a71229839c03266dd3c808a3a30b2fbae8
1 parent
470b7018b5
Exists in
master
提交代码
Showing 1 changed file with 2 additions and 2 deletions
webApi/src/main/java/com/lyms/yimiao/web/controller/v1/KidsController.java
View file @
a79d73a
... | ... | @@ -110,7 +110,7 @@ |
110 | 110 | //测试需要 |
111 | 111 | if (code.equals("123456")){ |
112 | 112 | resultMsgMap.put("idRight", true); |
113 | - resultMsgMap.put(ResultUtils.ERROR_CODE, 0); | |
113 | + resultMsgMap.put(ResultUtils.ERROR_CODE, ConstantInterface.SUCCESS); | |
114 | 114 | resultMsgMap.put(ResultUtils.ERROR_MSG, "成功"); |
115 | 115 | }else { |
116 | 116 | //通过手机拿到redis中的验证码,然后和用户输入的验证码做校验 |
... | ... | @@ -125,7 +125,7 @@ |
125 | 125 | } |
126 | 126 | if (code.equals(verCodeObj)) { |
127 | 127 | resultMsgMap.put("idRight", true); |
128 | - resultMsgMap.put(ResultUtils.ERROR_CODE, 0); | |
128 | + resultMsgMap.put(ResultUtils.ERROR_CODE, ConstantInterface.SUCCESS); | |
129 | 129 | resultMsgMap.put(ResultUtils.ERROR_MSG, "成功"); |
130 | 130 | }else { |
131 | 131 | resultMsgMap.put("idRight", false); |