Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
7b1be07e
Commit
7b1be07e
authored
Oct 13, 2020
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-tiande' into dev-tiande
parents
f801100d
a9492a4c
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
530 additions
and
474 deletions
+530
-474
systemconfig.properties
...mon/src/main/resources/properties/systemconfig.properties
+4
-4
CampsiteShopPageVo.java
...ava/com/xxfc/platform/campsite/vo/CampsiteShopPageVo.java
+5
-0
CampsiteShopBiz.java
.../java/com/xxfc/platform/campsite/biz/CampsiteShopBiz.java
+7
-1
TourTag.java
.../src/main/java/com/xxfc/platform/tour/entity/TourTag.java
+110
-107
TourTagBiz.java
.../src/main/java/com/xxfc/platform/tour/biz/TourTagBiz.java
+277
-258
TourTagController.java
...n/java/com/xxfc/platform/tour/rest/TourTagController.java
+103
-80
AliYunSmsBiz.java
...in/java/com/xxfc/platform/universal/biz/AliYunSmsBiz.java
+24
-24
No files found.
ace-common/src/main/resources/properties/systemconfig.properties
View file @
7b1be07e
...
@@ -17,10 +17,10 @@ USER_HEADER_URL_DEFAULT=https://xxtest.upyuns.com/image/app/default_%20avatar.pn
...
@@ -17,10 +17,10 @@ USER_HEADER_URL_DEFAULT=https://xxtest.upyuns.com/image/app/default_%20avatar.pn
#\u9ED8\u8BA4\u6635\u79F0
#\u9ED8\u8BA4\u6635\u79F0
USER_NIKENAME_DEFAULT
=
XX_
USER_NIKENAME_DEFAULT
=
XX_
#\u77ED\u4FE1\u673A
#\u77ED\u4FE1\u673A
ACCESSKEYID
=
LTAI
nxMDwHQL8yg9
ACCESSKEYID
=
LTAI
4GFsh2SYSzJs9PxB8dhm
ACCESSKEYSECRET
=
OCKDEiwKGjePCZgPeWMEUFGwGbKYLA
ACCESSKEYSECRET
=
oUb9cma3vbf359N1un5yVKiZ0buulE
TEMPLATECODE
=
SMS_
170070101
TEMPLATECODE
=
SMS_
204210538
SIGNNAME
=
\u
6EF4
\u
623F
\u
8F66
SIGNNAME
=
亦家房车
#\u5FAE\u4FE1\u652F\u4ED8\u914D\u7F6E
#\u5FAE\u4FE1\u652F\u4ED8\u914D\u7F6E
WINXIN_AppID
=
wx425608b69a34736f
WINXIN_AppID
=
wx425608b69a34736f
WINXIN_PARTNER_KEY
=
xxfcXXDfangche74upyuns3AD4334533
WINXIN_PARTNER_KEY
=
xxfcXXDfangche74upyuns3AD4334533
...
...
xx-campsite/xx-campsite-api/src/main/java/com/xxfc/platform/campsite/vo/CampsiteShopPageVo.java
View file @
7b1be07e
package
com
.
xxfc
.
platform
.
campsite
.
vo
;
package
com
.
xxfc
.
platform
.
campsite
.
vo
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
com.xxfc.platform.campsite.dto.CampsiteShopTagDTO
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
...
@@ -9,6 +10,7 @@ import lombok.Data;
...
@@ -9,6 +10,7 @@ import lombok.Data;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.List
;
/**
/**
...
@@ -111,4 +113,7 @@ public class CampsiteShopPageVo implements Serializable {
...
@@ -111,4 +113,7 @@ public class CampsiteShopPageVo implements Serializable {
@ApiModelProperty
(
"seo*html标签优化"
)
@ApiModelProperty
(
"seo*html标签优化"
)
private
String
imgDesc
;
private
String
imgDesc
;
@ApiModelProperty
(
"标签列表"
)
private
List
<
CampsiteShopTagDTO
>
list
;
}
}
xx-campsite/xx-campsite-server/src/main/java/com/xxfc/platform/campsite/biz/CampsiteShopBiz.java
View file @
7b1be07e
...
@@ -100,6 +100,12 @@ public class CampsiteShopBiz extends BaseBiz<CampsiteShopMapper, CampsiteShop> {
...
@@ -100,6 +100,12 @@ public class CampsiteShopBiz extends BaseBiz<CampsiteShopMapper, CampsiteShop> {
}*/
}*/
PageDataVO
<
CampsiteShopPageVo
>
campsiteShopPageDataVO
=
findCampsiteShopPageByTypeAndName
(
campsiteShopFindDTO
);
PageDataVO
<
CampsiteShopPageVo
>
campsiteShopPageDataVO
=
findCampsiteShopPageByTypeAndName
(
campsiteShopFindDTO
);
/* campHashOperations.put(CAMPSITE_LIST_CACHE_PREKEY,campsite_cache_key,JSONObject.toJSONString(campsiteShopPageDataVO));*/
/* campHashOperations.put(CAMPSITE_LIST_CACHE_PREKEY,campsite_cache_key,JSONObject.toJSONString(campsiteShopPageDataVO));*/
//查询营地的标签
List
<
CampsiteShopPageVo
>
list
=
campsiteShopPageDataVO
.
getData
();
for
(
CampsiteShopPageVo
campsiteShopPageVo
:
list
){
List
<
CampsiteShopTagDTO
>
tagList
=
campsiteShopTagBiz
.
findByCampsiteShopId
(
campsiteShopPageVo
.
getId
());
campsiteShopPageVo
.
setList
(
tagList
);
}
return
campsiteShopPageDataVO
;
return
campsiteShopPageDataVO
;
}
}
...
@@ -196,7 +202,7 @@ public class CampsiteShopBiz extends BaseBiz<CampsiteShopMapper, CampsiteShop> {
...
@@ -196,7 +202,7 @@ public class CampsiteShopBiz extends BaseBiz<CampsiteShopMapper, CampsiteShop> {
campsiteShopDetailVo
.
setHasCollection
(
false
);
campsiteShopDetailVo
.
setHasCollection
(
false
);
}
}
//
/* campsiteValueOperations.set(String.format("%s%d", CAMSITE_DETAIL_CACHE_PREKEY, id), JSONObject.toJSONString(campsiteShopDetailVo));*/
/* campsiteValueOperations.set(String.format("%s%d", CAMSITE_DETAIL_CACHE_PREKEY, id), JSONObject.toJSONString(campsiteShopDetailVo));*/
return
campsiteShopDetailVo
;
return
campsiteShopDetailVo
;
...
...
xx-tour/xx-tour-api/src/main/java/com/xxfc/platform/tour/entity/TourTag.java
View file @
7b1be07e
...
@@ -104,4 +104,7 @@ public class TourTag implements Serializable {
...
@@ -104,4 +104,7 @@ public class TourTag implements Serializable {
@Column
(
name
=
"is_del"
)
@Column
(
name
=
"is_del"
)
@ApiModelProperty
(
value
=
"是否删除:0-正常;1-删除"
)
@ApiModelProperty
(
value
=
"是否删除:0-正常;1-删除"
)
private
Integer
isDel
;
private
Integer
isDel
;
@Transient
private
List
<
TourGood
>
list
;
}
}
xx-tour/xx-tour-server/src/main/java/com/xxfc/platform/tour/biz/TourTagBiz.java
View file @
7b1be07e
package
com
.
xxfc
.
platform
.
tour
.
biz
;
package
com
.
xxfc
.
platform
.
tour
.
biz
;
import
cn.hutool.db.handler.HandleHelper
;
import
com.ace.cache.annotation.CacheClear
;
import
com.ace.cache.annotation.CacheClear
;
import
com.github.wxiaoqi.security.admin.feign.dto.UserDTO
;
import
com.github.wxiaoqi.security.admin.feign.dto.UserDTO
;
import
com.github.wxiaoqi.security.common.vo.PageDataVO
;
import
com.github.wxiaoqi.security.common.vo.PageDataVO
;
...
@@ -7,6 +8,8 @@ import com.xxfc.platform.tour.comstnt.RedisKey;
...
@@ -7,6 +8,8 @@ import com.xxfc.platform.tour.comstnt.RedisKey;
import
com.xxfc.platform.tour.dto.TourTagAndBannerDTO
;
import
com.xxfc.platform.tour.dto.TourTagAndBannerDTO
;
import
com.xxfc.platform.tour.dto.TourTagBannerDTO
;
import
com.xxfc.platform.tour.dto.TourTagBannerDTO
;
import
com.xxfc.platform.tour.dto.TourTagDTO
;
import
com.xxfc.platform.tour.dto.TourTagDTO
;
import
com.xxfc.platform.tour.entity.TourGood
;
import
com.xxfc.platform.tour.mapper.TourGoodMapper
;
import
com.xxfc.platform.tour.mapper.TourTagMapper
;
import
com.xxfc.platform.tour.mapper.TourTagMapper
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
...
@@ -19,10 +22,7 @@ import com.github.wxiaoqi.security.common.biz.BaseBiz;
...
@@ -19,10 +22,7 @@ import com.github.wxiaoqi.security.common.biz.BaseBiz;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.time.Instant
;
import
java.time.Instant
;
import
java.util.ArrayList
;
import
java.util.*
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Objects
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
/**
/**
...
@@ -40,6 +40,9 @@ public class TourTagBiz extends BaseBiz<TourTagMapper,TourTag> {
...
@@ -40,6 +40,9 @@ public class TourTagBiz extends BaseBiz<TourTagMapper,TourTag> {
@Autowired
@Autowired
private
TourTagBannerBiz
tourTagBannerBiz
;
private
TourTagBannerBiz
tourTagBannerBiz
;
@Autowired
private
TourGoodMapper
tourGoodMapper
;
// @Cache(key = RedisKey.CONSTANT_CODE_PREFIX_HOTTAG)
// @Cache(key = RedisKey.CONSTANT_CODE_PREFIX_HOTTAG)
public
List
<
TourTag
>
getHotTag
()
{
public
List
<
TourTag
>
getHotTag
()
{
...
@@ -49,6 +52,22 @@ public class TourTagBiz extends BaseBiz<TourTagMapper,TourTag> {
...
@@ -49,6 +52,22 @@ public class TourTagBiz extends BaseBiz<TourTagMapper,TourTag> {
return
mapper
.
findHotListTag
(
tag
);
return
mapper
.
findHotListTag
(
tag
);
}
}
public
List
<
TourTag
>
getHotTagAndGoods
()
{
TourTag
tag
=
new
TourTag
();
tag
.
setIsDel
(
0
);
tag
.
setIsHot
(
1
);
List
<
TourTag
>
list
=
mapper
.
findHotListTag
(
tag
);
Map
<
String
,
Object
>
map
=
new
HashMap
<
String
,
Object
>();
//增加两条线路例子
for
(
TourTag
tourTag
:
list
){
map
.
put
(
"tagId"
,
tourTag
.
getId
());
PageDataVO
<
TourGood
>
dataVO
=
PageDataVO
.
pageInfo
(
1
,
2
,
()
->
tourGoodMapper
.
getGoodList
(
map
));
List
<
TourGood
>
pageDataVO
=
dataVO
.
getData
();
tourTag
.
setList
(
pageDataVO
);
}
return
list
;
}
public
List
<
TourTag
>
getTagList
(
Integer
isHot
)
{
public
List
<
TourTag
>
getTagList
(
Integer
isHot
)
{
TourTag
tag
=
new
TourTag
();
TourTag
tag
=
new
TourTag
();
tag
.
setIsDel
(
0
);
tag
.
setIsDel
(
0
);
...
...
xx-tour/xx-tour-server/src/main/java/com/xxfc/platform/tour/rest/TourTagController.java
View file @
7b1be07e
...
@@ -45,6 +45,29 @@ public class TourTagController extends BaseController<TourTagBiz,TourTag> {
...
@@ -45,6 +45,29 @@ public class TourTagController extends BaseController<TourTagBiz,TourTag> {
}
}
/**
* 标签带两条线路
* @param dto
* @return
*/
@GetMapping
(
"/app/unauth/getTagListAndGoods"
)
public
ObjectRestResponse
getTagListAndGoods
(
pageDTO
dto
){
if
(
dto
==
null
)
{
return
ObjectRestResponse
.
createDefaultFail
();
}
Integer
hot
=
dto
.
getHot
();
if
(
hot
==
1
){
List
<
TourTag
>
hotTag
=
tagBiz
.
getHotTagAndGoods
();
return
ObjectRestResponse
.
succ
(
hotTag
);
}
PageDataVO
<
TourTag
>
all
=
tagBiz
.
findPage
(
BeanUtil
.
beanToMap
(
dto
));
return
ObjectRestResponse
.
succ
(
all
);
}
@Override
@Override
@ApiOperation
(
"修改"
)
@ApiOperation
(
"修改"
)
...
...
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/biz/AliYunSmsBiz.java
View file @
7b1be07e
...
@@ -11,15 +11,15 @@ import org.springframework.stereotype.Service;
...
@@ -11,15 +11,15 @@ import org.springframework.stereotype.Service;
public
class
AliYunSmsBiz
{
public
class
AliYunSmsBiz
{
//租车订单通知(普通用户)1
//租车订单通知(普通用户)1
public
static
final
String
TEMPLATE_ID_ORDER
=
"SMS_
173247815
"
;
public
static
final
String
TEMPLATE_ID_ORDER
=
"SMS_
204415111
"
;
//租车订单短信(会员权益)2
//租车订单短信(会员权益)2
public
static
final
String
TEMPLATE_ID_ORDER_MEMBER
=
"SMS_
173252767
"
;
public
static
final
String
TEMPLATE_ID_ORDER_MEMBER
=
"SMS_
204415113
"
;
//旅游订单短信3
//旅游订单短信3
public
static
final
String
TEMPLATE_ID_ORDER_TOUR
=
"SMS_
173247826
"
;
public
static
final
String
TEMPLATE_ID_ORDER_TOUR
=
"SMS_
204415115
"
;
//加入会员通知4
//加入会员通知4
public
static
final
String
TEMPLATE_ID_MEMBER
=
"SMS_
173247829
"
;
public
static
final
String
TEMPLATE_ID_MEMBER
=
"SMS_
204297476
"
;
//租/还车公司相同(订单支付后立即发送给相关负责人)5
//租/还车公司相同(订单支付后立即发送给相关负责人)5
public
static
final
String
TEMPLATE_ID_TAAKE_CAR
=
"SMS_
17324783
6"
;
public
static
final
String
TEMPLATE_ID_TAAKE_CAR
=
"SMS_
20428751
6"
;
//租/还车公司不同(发给租车公司负责人,订单支付后发送)6
//租/还车公司不同(发给租车公司负责人,订单支付后发送)6
public
static
final
String
TEMPLATE_ID_DIFFERENT_TAAKE_CAR
=
"458621"
;
public
static
final
String
TEMPLATE_ID_DIFFERENT_TAAKE_CAR
=
"458621"
;
// 租/还车公司不同(发给还车公司负责人,订单出车后发))(相同不发)7
// 租/还车公司不同(发给还车公司负责人,订单出车后发))(相同不发)7
...
@@ -30,60 +30,60 @@ public class AliYunSmsBiz {
...
@@ -30,60 +30,60 @@ public class AliYunSmsBiz {
//租车(通用)10
//租车(通用)10
//public static final String TEMPLATE_ID_PAY_A = "460759";
//public static final String TEMPLATE_ID_PAY_A = "460759";
public
static
final
String
TEMPLATE_ID_PAY_A
=
"SMS_
171112286
"
;
public
static
final
String
TEMPLATE_ID_PAY_A
=
"SMS_
204415121
"
;
//租车(使用会员权益)11
//租车(使用会员权益)11
//public static final String TEMPLATE_ID_PAY_B = "460760";
//public static final String TEMPLATE_ID_PAY_B = "460760";
public
static
final
String
TEMPLATE_ID_PAY_B
=
"SMS_
173340577
"
;
public
static
final
String
TEMPLATE_ID_PAY_B
=
"SMS_
204415118
"
;
//租车内部通知(客服)12
//租车内部通知(客服)12
//public static final String TEMPLATE_ID_PAY_C = "460763";
//public static final String TEMPLATE_ID_PAY_C = "460763";
public
static
final
String
TEMPLATE_ID_PAY_C
=
"SMS_
173345572
"
;
public
static
final
String
TEMPLATE_ID_PAY_C
=
"SMS_
204287525
"
;
//租车内部通知(出车人)13
//租车内部通知(出车人)13
//public static final String TEMPLATE_ID_PAY_D = "460762";
//public static final String TEMPLATE_ID_PAY_D = "460762";
public
static
final
String
TEMPLATE_ID_PAY_D
=
"SMS_
173340609
"
;
public
static
final
String
TEMPLATE_ID_PAY_D
=
"SMS_
204277598
"
;
//租车内部通知(收车人)14
//租车内部通知(收车人)14
//public static final String TEMPLATE_ID_PAY_E = "460764";
//public static final String TEMPLATE_ID_PAY_E = "460764";
public
static
final
String
TEMPLATE_ID_PAY_E
=
"SMS_
17334558
9"
;
public
static
final
String
TEMPLATE_ID_PAY_E
=
"SMS_
20427759
9"
;
//旅游(通用)15
//旅游(通用)15
//public static final String TEMPLATE_ID_PAY_F = "460765";
//public static final String TEMPLATE_ID_PAY_F = "460765";
public
static
final
String
TEMPLATE_ID_PAY_F
=
"SMS_
173345597
"
;
public
static
final
String
TEMPLATE_ID_PAY_F
=
"SMS_
204297493
"
;
//会员购买(通用)16
//会员购买(通用)16
//public static final String TEMPLATE_ID_PAY_G = "460766";
//public static final String TEMPLATE_ID_PAY_G = "460766";
public
static
final
String
TEMPLATE_ID_PAY_G
=
"SMS_
173340637
"
;
public
static
final
String
TEMPLATE_ID_PAY_G
=
"SMS_
204277603
"
;
//取消租车(通用)17
//取消租车(通用)17
//public static final String TEMPLATE_ID_CANCEL_A= "460767";
//public static final String TEMPLATE_ID_CANCEL_A= "460767";
public
static
final
String
TEMPLATE_ID_CANCEL_A
=
"SMS_
173345633
"
;
public
static
final
String
TEMPLATE_ID_CANCEL_A
=
"SMS_
204415129
"
;
//取消租车(使用会员权益)18
//取消租车(使用会员权益)18
//public static final String TEMPLATE_ID_CANCEL_B = "460768";
//public static final String TEMPLATE_ID_CANCEL_B = "460768";
public
static
final
String
TEMPLATE_ID_CANCEL_B
=
"SMS_
173340658
"
;
public
static
final
String
TEMPLATE_ID_CANCEL_B
=
"SMS_
204277607
"
;
//取消租车(通用扣违约金)19
//取消租车(通用扣违约金)19
//public static final String TEMPLATE_ID_CANCEL_C = "460769";
//public static final String TEMPLATE_ID_CANCEL_C = "460769";
public
static
final
String
TEMPLATE_ID_CANCEL_C
=
"SMS_
173345646
"
;
public
static
final
String
TEMPLATE_ID_CANCEL_C
=
"SMS_
204277608
"
;
//取消租车(会员权益&扣违 20
//取消租车(会员权益&扣违 20
//public static final String TEMPLATE_ID_CANCEL_D = "460770";
//public static final String TEMPLATE_ID_CANCEL_D = "460770";
public
static
final
String
TEMPLATE_ID_CANCEL_D
=
"SMS_
173340671
"
;
public
static
final
String
TEMPLATE_ID_CANCEL_D
=
"SMS_
204287539
"
;
//取消租车(出车人)21
//取消租车(出车人)21
//public static final String TEMPLATE_ID_CANCEL_E = "460771";
//public static final String TEMPLATE_ID_CANCEL_E = "460771";
public
static
final
String
TEMPLATE_ID_CANCEL_E
=
"SMS_
173345667
"
;
public
static
final
String
TEMPLATE_ID_CANCEL_E
=
"SMS_
204277611
"
;
//租车押金退还 22
//租车押金退还 22
//public static final String TEMPLATE_ID_FINISH_A = "460772";
//public static final String TEMPLATE_ID_FINISH_A = "460772";
public
static
final
String
TEMPLATE_ID_FINISH_A
=
"SMS_
175240587
"
;
public
static
final
String
TEMPLATE_ID_FINISH_A
=
"SMS_
204297503
"
;
//违章押金退还 23
//违章押金退还 23
//public static final String TEMPLATE_ID_FINISH_B = "460773";
//public static final String TEMPLATE_ID_FINISH_B = "460773";
public
static
final
String
TEMPLATE_ID_FINISH_B
=
"SMS_
173340712
"
;
public
static
final
String
TEMPLATE_ID_FINISH_B
=
"SMS_
204277616
"
;
//旅游内部通知(客服)24
//旅游内部通知(客服)24
//public static final String TEMPLATE_ID_PAY_H = "461421";
//public static final String TEMPLATE_ID_PAY_H = "461421";
public
static
final
String
TEMPLATE_ID_PAY_H
=
"SMS_
173340630
"
;
public
static
final
String
TEMPLATE_ID_PAY_H
=
"SMS_
204287547
"
;
//取消旅游订单(客服)25
//取消旅游订单(客服)25
//public static final String TEMPLATE_ID_CANCEL_F = "461424";
//public static final String TEMPLATE_ID_CANCEL_F = "461424";
public
static
final
String
TEMPLATE_ID_CANCEL_F
=
"SMS_
173340695
"
;
public
static
final
String
TEMPLATE_ID_CANCEL_F
=
"SMS_
204277618
"
;
//租车(取车提醒)26
//租车(取车提醒)26
public
static
final
String
TEMPLATE_ID_PAY_I
=
"SMS_
173345539
"
;
public
static
final
String
TEMPLATE_ID_PAY_I
=
"SMS_
204415136
"
;
//旅游(上车通知)27
//旅游(上车通知)27
public
static
final
String
TEMPLATE_ID_PAY_J
=
"SMS_
173345606
"
;
public
static
final
String
TEMPLATE_ID_PAY_J
=
"SMS_
204287550
"
;
//旅游(上车通知)27
//旅游(上车通知)27
public
static
final
String
PWD
=
"SMS_
174990497
"
;
public
static
final
String
PWD
=
"SMS_
204415140
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment