Authored by tanling

no message

... ... @@ -110,11 +110,7 @@ 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();
}
... ...
... ... @@ -156,7 +156,7 @@
activityCode: activityCode
},
success: function(data) {
if (data.code === 200 || data.code === 502 || data.code === 503) {
if (data.code === 200 || data.code === 502 || data.code === 503 || data.code === 404) {
if (window._yas) {
window._yas.sendCustomInfo({
activityID: activityID,
... ...