|
|
package com.yoho.unions.server.service.impl;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
|
import com.yoho.error.exception.ServiceException;
|
|
|
import com.yoho.service.model.union.request.UnionTimeBO;
|
|
|
import com.yoho.unions.common.redis.RedisValueCache;
|
|
|
import com.yoho.unions.dal.IMktMarketingUrlDAO;
|
|
|
import com.yoho.unions.dal.IUnionActivityLogsDAO;
|
|
|
import com.yoho.unions.dal.IUnionClickLogsDAO;
|
|
|
import com.yoho.unions.dal.model.MktMarketingUrl;
|
|
|
import com.yoho.unions.dal.model.UnionActivityLogs;
|
|
|
import com.yoho.unions.dal.model.UnionClickLogs;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
import org.apache.commons.lang3.tuple.Pair;
|
|
|
import org.apache.http.HttpStatus;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.netflix.config.DynamicIntProperty;
|
|
|
import com.netflix.config.DynamicPropertyFactory;
|
...
|
...
|
@@ -26,12 +8,26 @@ import com.yoho.service.model.union.request.ActiveUnionRequestBO; |
|
|
import com.yoho.service.model.union.request.AddUnionRequestBO;
|
|
|
import com.yoho.service.model.union.response.UnionResponseBO;
|
|
|
import com.yoho.unions.common.enums.SourceEnum;
|
|
|
import com.yoho.unions.common.redis.RedisValueCache;
|
|
|
import com.yoho.unions.common.utils.DateUtil;
|
|
|
import com.yoho.unions.common.utils.HttpUtils;
|
|
|
import com.yoho.unions.dal.IMktMarketingUrlDAO;
|
|
|
import com.yoho.unions.dal.IUnionActivityLogsDAO;
|
|
|
import com.yoho.unions.dal.IUnionClickLogsDAO;
|
|
|
import com.yoho.unions.dal.IUnionsActiveRecordDAO;
|
|
|
import com.yoho.unions.dal.model.MktMarketingUrl;
|
|
|
import com.yoho.unions.dal.model.UnionActivityLogs;
|
|
|
import com.yoho.unions.dal.model.UnionClickLogs;
|
|
|
import com.yoho.unions.dal.model.UnionsActiveRecord;
|
|
|
import com.yoho.unions.server.service.DingdangService;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
import org.apache.commons.lang3.tuple.Pair;
|
|
|
import org.apache.http.HttpStatus;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
import java.util.List;
|
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
...
|
...
|
|