Authored by tanling

add check

... ... @@ -110,6 +110,11 @@ public class TencentMktServiceImpl implements ITencentMktService {
// 调用gateway的发送验证码请求
AsyncFuture<ApiResponse> response = service.get("sms.sendCode", gatewayUrl + "?" + param, null, ApiResponse.class, null);
if(response.get().getCode() == 404){
log.warn("call sms.sendCode. user is exist. area={}, mobile={}", area, mobile);
return new ApiResponse(502, "仅限新用户领取哦!");
}
return response.get();
}
... ...