Toggle navigation
Toggle navigation
This project
Loading...
Sign in
YOHOBUY
/
yohobuy-activity
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
DengXinFei
2016-06-03 14:14:33 +0800
Commit
37af320eba250e08eafd807875f4758ee240557f
2 parents
628ccfca
b39ea942
Merge branch 'dev05.30-4.5' into test
# Conflicts: # .gitignore
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
16 additions
and
17 deletions
.gitignore
common/.gitignore
common/src/main/java/com/yoho/activity/common/cache/RedisCache.java
common/src/main/java/com/yoho/activity/common/redis/RedisListCache.java
common/src/main/java/com/yoho/activity/common/redis/RedisValueCache.java
controller/.gitignore
dal/.gitignore
deploy/.gitignore
queue/.gitignore
service/.gitignore
service/src/main/java/com/yoho/activity/service/impl/CocacolaServiceImpl.java
service/src/main/java/com/yoho/activity/service/impl/ICouponActivityServiceImpl.java
web/.gitignore
.gitignore
View file @
37af320
...
...
@@ -9,12 +9,4 @@ controller/.settings/
*.classpath
*.project
controller/target/
/yohobuy-activity.iml
/web/yohobuy-activity-web.iml
/service/yohobuy-activity-service.iml
/common/yohobuy-activity-common.iml
/controller/yohobuy-activity-controller.iml
/dal/yohobuy-activity-dal.iml
/deploy/yohobuy-activity-deploy.iml
/other/yohobuy-activity-other.iml
/queue/yohobuy-activity-queue.iml
*.iml
...
...
common/.gitignore
View file @
37af320
...
...
@@ -2,3 +2,4 @@
/.settings
/.classpath
/.project
/*.iml
...
...
common/src/main/java/com/yoho/activity/common/cache/RedisCache.java
View file @
37af320
...
...
@@ -30,8 +30,8 @@ import com.yoho.queue.dal.model.DrawlineActivity;
public
class
RedisCache
{
static
Logger
log
=
LoggerFactory
.
getLogger
(
RedisCache
.
class
);
@Resource
@Resource
(
name
=
"yhValueOperations"
)
YHValueOperations
<
String
,
String
>
yhValueOperations
;
@Resource
(
name
=
"yhRedisTemplate"
)
YHRedisTemplate
<
String
,
String
>
yHRedisTemplate
;
...
...
common/src/main/java/com/yoho/activity/common/redis/RedisListCache.java
View file @
37af320
...
...
@@ -31,7 +31,7 @@ public class RedisListCache {
@Resource
(
name
=
"yhRedisTemplate"
)
YHRedisTemplate
<
String
,
String
>
yHRedisTemplate
;
@
Autowired
@
Resource
(
name
=
"yhListOperations"
)
YHListOperations
<
String
,
String
>
yhListOperations
;
/**
...
...
common/src/main/java/com/yoho/activity/common/redis/RedisValueCache.java
View file @
37af320
...
...
@@ -37,7 +37,7 @@ public class RedisValueCache {
@Resource
(
name
=
"yhRedisTemplate"
)
YHRedisTemplate
<
String
,
String
>
yHRedisTemplate
;
@
Autowired
@
Resource
(
name
=
"yhValueOperations"
)
YHValueOperations
<
String
,
String
>
yhValueOperations
;
/**
...
...
controller/.gitignore
0 → 100644
View file @
37af320
/*.iml
...
...
dal/.gitignore
View file @
37af320
...
...
@@ -2,3 +2,4 @@
/.settings
/.classpath
/.project
/*.iml
...
...
deploy/.gitignore
View file @
37af320
...
...
@@ -3,3 +3,4 @@
/.classpath
/.project
/bin/
/*.iml
...
...
queue/.gitignore
View file @
37af320
...
...
@@ -2,3 +2,4 @@
/.settings
/.classpath
/.project
/*.iml
...
...
service/.gitignore
View file @
37af320
...
...
@@ -2,3 +2,4 @@
/.settings
/.classpath
/.project
/*.iml
...
...
service/src/main/java/com/yoho/activity/service/impl/CocacolaServiceImpl.java
View file @
37af320
...
...
@@ -59,10 +59,10 @@ public class CocacolaServiceImpl implements ICocacolaService {
@Resource
private
ServiceCaller
service
;
@
Autowired
@
Resource
(
name
=
"yhValueOperations"
)
private
YHValueOperations
<
String
,
String
>
yhValueOperations
;
@
Autowired
@
Resource
(
name
=
"yhRedisTemplate"
)
private
YHRedisTemplate
<
String
,
String
>
yhRedisTemplate
;
@Override
...
...
service/src/main/java/com/yoho/activity/service/impl/ICouponActivityServiceImpl.java
View file @
37af320
...
...
@@ -63,10 +63,10 @@ public class ICouponActivityServiceImpl implements ICouponActivityService {
@Resource
private
ServiceCaller
service
;
@
Autowired
@
Resource
(
name
=
"yhValueOperations"
)
private
YHValueOperations
<
String
,
String
>
yhValueOperations
;
@
Autowired
@
Resource
(
name
=
"yhRedisTemplate"
)
private
YHRedisTemplate
<
String
,
String
>
yhRedisTemplate
;
@Resource
...
...
web/.gitignore
View file @
37af320
...
...
@@ -2,3 +2,4 @@
/.settings
/.classpath
/.project
/*.iml
...
...
Please
register
or
login
to post a comment