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