1
|
package com.yoho.unions.server.service.impl;
|
1
|
package com.yoho.unions.server.service.impl;
|
2
|
|
2
|
|
3
|
-import javax.annotation.Resource;
|
|
|
4
|
-
|
|
|
5
|
-import com.yoho.error.exception.ServiceException;
|
|
|
6
|
-import com.yoho.service.model.union.request.UnionTimeBO;
|
|
|
7
|
-import com.yoho.unions.common.redis.RedisValueCache;
|
|
|
8
|
-import com.yoho.unions.dal.IMktMarketingUrlDAO;
|
|
|
9
|
-import com.yoho.unions.dal.IUnionActivityLogsDAO;
|
|
|
10
|
-import com.yoho.unions.dal.IUnionClickLogsDAO;
|
|
|
11
|
-import com.yoho.unions.dal.model.MktMarketingUrl;
|
|
|
12
|
-import com.yoho.unions.dal.model.UnionActivityLogs;
|
|
|
13
|
-import com.yoho.unions.dal.model.UnionClickLogs;
|
|
|
14
|
-import org.apache.commons.lang.StringUtils;
|
|
|
15
|
-import org.apache.commons.lang3.tuple.Pair;
|
|
|
16
|
-import org.apache.http.HttpStatus;
|
|
|
17
|
-import org.slf4j.Logger;
|
|
|
18
|
-import org.slf4j.LoggerFactory;
|
|
|
19
|
-import org.springframework.stereotype.Service;
|
|
|
20
|
-
|
|
|
21
|
import com.alibaba.fastjson.JSONObject;
|
3
|
import com.alibaba.fastjson.JSONObject;
|
22
|
import com.netflix.config.DynamicIntProperty;
|
4
|
import com.netflix.config.DynamicIntProperty;
|
23
|
import com.netflix.config.DynamicPropertyFactory;
|
5
|
import com.netflix.config.DynamicPropertyFactory;
|
|
@@ -26,12 +8,26 @@ import com.yoho.service.model.union.request.ActiveUnionRequestBO; |
|
@@ -26,12 +8,26 @@ import com.yoho.service.model.union.request.ActiveUnionRequestBO; |
26
|
import com.yoho.service.model.union.request.AddUnionRequestBO;
|
8
|
import com.yoho.service.model.union.request.AddUnionRequestBO;
|
27
|
import com.yoho.service.model.union.response.UnionResponseBO;
|
9
|
import com.yoho.service.model.union.response.UnionResponseBO;
|
28
|
import com.yoho.unions.common.enums.SourceEnum;
|
10
|
import com.yoho.unions.common.enums.SourceEnum;
|
|
|
11
|
+import com.yoho.unions.common.redis.RedisValueCache;
|
29
|
import com.yoho.unions.common.utils.DateUtil;
|
12
|
import com.yoho.unions.common.utils.DateUtil;
|
30
|
import com.yoho.unions.common.utils.HttpUtils;
|
13
|
import com.yoho.unions.common.utils.HttpUtils;
|
|
|
14
|
+import com.yoho.unions.dal.IMktMarketingUrlDAO;
|
|
|
15
|
+import com.yoho.unions.dal.IUnionActivityLogsDAO;
|
|
|
16
|
+import com.yoho.unions.dal.IUnionClickLogsDAO;
|
31
|
import com.yoho.unions.dal.IUnionsActiveRecordDAO;
|
17
|
import com.yoho.unions.dal.IUnionsActiveRecordDAO;
|
|
|
18
|
+import com.yoho.unions.dal.model.MktMarketingUrl;
|
|
|
19
|
+import com.yoho.unions.dal.model.UnionActivityLogs;
|
|
|
20
|
+import com.yoho.unions.dal.model.UnionClickLogs;
|
32
|
import com.yoho.unions.dal.model.UnionsActiveRecord;
|
21
|
import com.yoho.unions.dal.model.UnionsActiveRecord;
|
33
|
import com.yoho.unions.server.service.DingdangService;
|
22
|
import com.yoho.unions.server.service.DingdangService;
|
|
|
23
|
+import org.apache.commons.lang.StringUtils;
|
|
|
24
|
+import org.apache.commons.lang3.tuple.Pair;
|
|
|
25
|
+import org.apache.http.HttpStatus;
|
|
|
26
|
+import org.slf4j.Logger;
|
|
|
27
|
+import org.slf4j.LoggerFactory;
|
|
|
28
|
+import org.springframework.stereotype.Service;
|
34
|
|
29
|
|
|
|
30
|
+import javax.annotation.Resource;
|
35
|
import java.util.List;
|
31
|
import java.util.List;
|
36
|
import java.util.concurrent.TimeUnit;
|
32
|
import java.util.concurrent.TimeUnit;
|
37
|
|
33
|
|