Merge branch 'cocacola' into dev
Showing
2 changed files
with
2 additions
and
0 deletions
@@ -36,6 +36,7 @@ public class ClientSecretHelper { | @@ -36,6 +36,7 @@ public class ClientSecretHelper { | ||
36 | if (MapUtils.isEmpty(map)) { | 36 | if (MapUtils.isEmpty(map)) { |
37 | return null; | 37 | return null; |
38 | } | 38 | } |
39 | + map.put("v", "7"); | ||
39 | map.put("client_secret", securityInterceptor.getSign(map)); | 40 | map.put("client_secret", securityInterceptor.getSign(map)); |
40 | List<String> list = new ArrayList<String>(); | 41 | List<String> list = new ArrayList<String>(); |
41 | for (Entry<String, String> entry : map.entrySet()) { | 42 | for (Entry<String, String> entry : map.entrySet()) { |
@@ -104,6 +104,7 @@ public class CocacolaServiceImpl implements ICocacolaService { | @@ -104,6 +104,7 @@ public class CocacolaServiceImpl implements ICocacolaService { | ||
104 | ApiResponse response = validRegCode(code, area, mobile); | 104 | ApiResponse response = validRegCode(code, area, mobile); |
105 | if (Constant.CODE_SUCCESS != response.getCode()) { | 105 | if (Constant.CODE_SUCCESS != response.getCode()) { |
106 | log.warn("validCodeAndSendCode error validCode is error with code={}, area={}, mobile={}", code, area, mobile); | 106 | log.warn("validCodeAndSendCode error validCode is error with code={}, area={}, mobile={}", code, area, mobile); |
107 | + response.setMessage("验证码错误"); | ||
107 | return response; | 108 | return response; |
108 | } | 109 | } |
109 | 110 |
-
Please register or login to post a comment