Authored by ping

修改发送短信验证码

@@ -102,7 +102,7 @@ public class ICouponActivityServiceImpl implements ICouponActivityService { @@ -102,7 +102,7 @@ public class ICouponActivityServiceImpl implements ICouponActivityService {
102 // 组装请求对象,并生成client_secret 102 // 组装请求对象,并生成client_secret
103 Map<String, String> map = new HashMap<String, String>(); 103 Map<String, String> map = new HashMap<String, String>();
104 //map.put("method", "app.passport.smsbind"); 104 //map.put("method", "app.passport.smsbind");
105 - map.put("method", "app.register.sendRegCodeToMobile"); 105 + map.put("method", "app.passport.smsbind");
106 map.put("mobile", mobile); 106 map.put("mobile", mobile);
107 map.put("area", area); 107 map.put("area", area);
108 String param = clientSecretHelper.createClientSecret(map); 108 String param = clientSecretHelper.createClientSecret(map);
@@ -103,7 +103,7 @@ public class TencentMktServiceImpl implements ITencentMktService { @@ -103,7 +103,7 @@ public class TencentMktServiceImpl implements ITencentMktService {
103 103
104 // 组装请求对象,并生成client_secret 104 // 组装请求对象,并生成client_secret
105 Map<String, String> map = new HashMap<String, String>(); 105 Map<String, String> map = new HashMap<String, String>();
106 - map.put("method", "app.register.sendRegCodeToMobile"); 106 + map.put("method", "app.passport.smsbind");
107 map.put("mobile", mobile); 107 map.put("mobile", mobile);
108 map.put("area", "86"); 108 map.put("area", "86");
109 String param = clientSecretHelper.createClientSecret(map); 109 String param = clientSecretHelper.createClientSecret(map);
@@ -113,7 +113,7 @@ public class TencentMktServiceImpl implements ITencentMktService { @@ -113,7 +113,7 @@ public class TencentMktServiceImpl implements ITencentMktService {
113 113
114 ApiResponse apiResponse = response.get(); 114 ApiResponse apiResponse = response.get();
115 if(apiResponse.getCode() == 404){ 115 if(apiResponse.getCode() == 404){
116 - log.warn("call app.register.sendRegCodeToMobile. user is exist. area={}, mobile={}", area, mobile); 116 + log.warn("call app.passport.smsbind. user is exist. area={}, mobile={}", area, mobile);
117 return new ApiResponse(502, "仅限新用户领取哦!"); 117 return new ApiResponse(502, "仅限新用户领取哦!");
118 } 118 }
119 119