Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
promotion-service
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
promotion
promotion-service
Commits
02850558
提交
02850558
authored
1月 13, 2026
作者:
窦馨雨
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'dxy' 到 'qa'
CP计划小程序改造,改造登录放行 查看合并请求
!63
上级
bab4224e
2c2d24f1
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
14 行增加
和
21 行删除
+14
-21
TemporaryInfoCoreController.java
...tion/controller/user/tem/TemporaryInfoCoreController.java
+2
-3
TemporaryInfoQueryController.java
...ion/controller/user/tem/TemporaryInfoQueryController.java
+4
-4
ActivityPlanInfoDao.java
...motion/domain/activityplanv2/dao/ActivityPlanInfoDao.java
+2
-2
ActivityPlanInfoDaoImpl.java
...main/activityplanv2/dao/impl/ActivityPlanInfoDaoImpl.java
+3
-9
WeChatUserQueryService.java
...aolu/promotion/service/wechat/WeChatUserQueryService.java
+1
-1
WeChatUserQueryServiceImpl.java
...otion/service/wechat/impl/WeChatUserQueryServiceImpl.java
+2
-2
没有找到文件。
src/main/java/com/wangxiaolu/promotion/controller/user/tem/TemporaryInfoCoreController.java
浏览文件 @
02850558
package
com
.
wangxiaolu
.
promotion
.
controller
.
user
.
tem
;
package
com
.
wangxiaolu
.
promotion
.
controller
.
user
.
tem
;
import
com.wangxiaolu.promotion.common.redis.RedisKeys
;
import
com.wangxiaolu.promotion.common.redis.service.RedisCache
;
import
com.wangxiaolu.promotion.common.redis.service.RedisCache
;
import
com.wangxiaolu.promotion.common.util.DataUtils
;
import
com.wangxiaolu.promotion.common.util.DataUtils
;
import
com.wangxiaolu.promotion.common.util.EnvUtil
;
import
com.wangxiaolu.promotion.common.util.EnvUtil
;
...
@@ -11,7 +10,6 @@ import com.wangxiaolu.promotion.result.basedata.R;
...
@@ -11,7 +10,6 @@ import com.wangxiaolu.promotion.result.basedata.R;
import
com.wangxiaolu.promotion.result.basedata.RCode
;
import
com.wangxiaolu.promotion.result.basedata.RCode
;
import
com.wangxiaolu.promotion.service.wechat.WeChatUserCoreService
;
import
com.wangxiaolu.promotion.service.wechat.WeChatUserCoreService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.validation.annotation.Validated
;
...
@@ -58,7 +56,8 @@ public class TemporaryInfoCoreController {
...
@@ -58,7 +56,8 @@ public class TemporaryInfoCoreController {
// if (envUtil.isLive()) {
// if (envUtil.isLive()) {
// String redisKey = RedisKeys.UserKeys.PHONE_VER_CODE.getKey() + wxTemporaryEnrollVo.getPhone();
// String redisKey = RedisKeys.UserKeys.PHONE_VER_CODE.getKey() + wxTemporaryEnrollVo.getPhone();
// String phoneCodeOld = redisCache.get(redisKey);
// String phoneCodeOld = redisCache.get(redisKey);
// if (StringUtils.isBlank(phoneCodeOld) || !phoneCodeOld.equals(wxTemporaryEnrollVo.getPhoneCode())) {
// if (StringUtils.isBlan
// k(phoneCodeOld) || !phoneCodeOld.equals(wxTemporaryEnrollVo.getPhoneCode())) {
// throw new ParamException(RCode.TENCENT_SMS_PHONE_CODE_ERROR, null);
// throw new ParamException(RCode.TENCENT_SMS_PHONE_CODE_ERROR, null);
// }
// }
// redisCache.removeKey(redisKey);
// redisCache.removeKey(redisKey);
...
...
src/main/java/com/wangxiaolu/promotion/controller/user/tem/TemporaryInfoQueryController.java
浏览文件 @
02850558
...
@@ -72,12 +72,12 @@ public class TemporaryInfoQueryController {
...
@@ -72,12 +72,12 @@ public class TemporaryInfoQueryController {
/**
/**
* 注册时获取门店列表
* 注册时获取门店列表
* @param
temporaryRegisterVo 临时注册信息
* @param
planMonth 计划月份
* @return 门店列表
* @return 门店列表
*/
*/
@
Pos
tMapping
(
"/temporary/findStoreList"
)
@
Ge
tMapping
(
"/temporary/findStoreList"
)
public
R
findStoreList
(
@Request
Body
TemporaryRegisterVo
temporaryRegisterVo
)
{
public
R
findStoreList
(
@Request
Param
(
"planMonth"
)
String
planMonth
)
{
return
R
.
success
(
weChatUserQueryService
.
findStoreList
(
temporaryRegisterVo
));
return
R
.
success
(
weChatUserQueryService
.
findStoreList
(
planMonth
));
}
}
private
void
phontAndOpenIdVerify
(
WxTemporaryLoginVo
wxTemporaryLoginVo
)
{
private
void
phontAndOpenIdVerify
(
WxTemporaryLoginVo
wxTemporaryLoginVo
)
{
...
...
src/main/java/com/wangxiaolu/promotion/domain/activityplanv2/dao/ActivityPlanInfoDao.java
浏览文件 @
02850558
...
@@ -42,9 +42,9 @@ public interface ActivityPlanInfoDao {
...
@@ -42,9 +42,9 @@ public interface ActivityPlanInfoDao {
/**
/**
* 根据位置信息查询当前月份的促销门店
* 根据位置信息查询当前月份的促销门店
* @param
temporaryRegisterVo
查询条件参数
* @param
planMonth
查询条件参数
* @return 门店信息列表
* @return 门店信息列表
*/
*/
List
<
Map
<
String
,
String
>>
findThisMonthStoreListByLocation
(
TemporaryRegisterVo
temporaryRegisterVo
);
List
<
Map
<
String
,
String
>>
findThisMonthStoreListByLocation
(
String
planMonth
);
}
}
src/main/java/com/wangxiaolu/promotion/domain/activityplanv2/dao/impl/ActivityPlanInfoDaoImpl.java
浏览文件 @
02850558
...
@@ -129,19 +129,13 @@ public class ActivityPlanInfoDaoImpl implements ActivityPlanInfoDao {
...
@@ -129,19 +129,13 @@ public class ActivityPlanInfoDaoImpl implements ActivityPlanInfoDao {
/**
/**
* 根据地理位置信息查询本店本月门店列表
* 根据地理位置信息查询本店本月门店列表
* @param
temporaryRegisterVo
查询条件参数
* @param
planMonth
查询条件参数
* @return 门店列表
* @return 门店列表
*/
*/
@Override
@Override
public
List
<
Map
<
String
,
String
>>
findThisMonthStoreListByLocation
(
TemporaryRegisterVo
temporaryRegisterVo
)
{
public
List
<
Map
<
String
,
String
>>
findThisMonthStoreListByLocation
(
String
planMonth
)
{
LambdaQueryWrapper
<
ActivityPlanInfoDo
>
qw
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
ActivityPlanInfoDo
>
qw
=
new
LambdaQueryWrapper
<>();
qw
.
likeRight
(
ActivityPlanInfoDo:
:
getDate
,
temporaryRegisterVo
.
getMonth
());
qw
.
likeRight
(
ActivityPlanInfoDo:
:
getDate
,
planMonth
);
if
(
StringUtils
.
isNotBlank
(
temporaryRegisterVo
.
getProvince
())){
qw
.
eq
(
ActivityPlanInfoDo:
:
getProvince
,
temporaryRegisterVo
.
getProvince
());
}
if
(
StringUtils
.
isNotBlank
(
temporaryRegisterVo
.
getCity
())){
qw
.
eq
(
ActivityPlanInfoDo:
:
getCity
,
temporaryRegisterVo
.
getCity
());
}
List
<
ActivityPlanInfoDo
>
activityPlanInfoDoList
=
activityPlanInfoMapper
.
selectList
(
qw
);
List
<
ActivityPlanInfoDo
>
activityPlanInfoDoList
=
activityPlanInfoMapper
.
selectList
(
qw
);
List
<
Map
<
String
,
String
>>
resultList
=
activityPlanInfoDoList
.
stream
().
map
(
activityPlanInfoDo
->
{
List
<
Map
<
String
,
String
>>
resultList
=
activityPlanInfoDoList
.
stream
().
map
(
activityPlanInfoDo
->
{
Map
<
String
,
String
>
map
=
new
HashMap
<>();
Map
<
String
,
String
>
map
=
new
HashMap
<>();
...
...
src/main/java/com/wangxiaolu/promotion/service/wechat/WeChatUserQueryService.java
浏览文件 @
02850558
...
@@ -17,7 +17,7 @@ public interface WeChatUserQueryService {
...
@@ -17,7 +17,7 @@ public interface WeChatUserQueryService {
LoginVo
temporaryLoginByPhone
(
String
phone
);
LoginVo
temporaryLoginByPhone
(
String
phone
);
List
<
Map
<
String
,
String
>>
findStoreList
(
TemporaryRegisterVo
temporaryRegisterVo
);
List
<
Map
<
String
,
String
>>
findStoreList
(
String
planMonth
);
/**
/**
* 根据临时ID查询手机号
* 根据临时ID查询手机号
...
...
src/main/java/com/wangxiaolu/promotion/service/wechat/impl/WeChatUserQueryServiceImpl.java
浏览文件 @
02850558
...
@@ -91,8 +91,8 @@ public class WeChatUserQueryServiceImpl implements WeChatUserQueryService {
...
@@ -91,8 +91,8 @@ public class WeChatUserQueryServiceImpl implements WeChatUserQueryService {
}
}
@Override
@Override
public
List
<
Map
<
String
,
String
>>
findStoreList
(
TemporaryRegisterVo
temporaryRegisterVo
)
{
public
List
<
Map
<
String
,
String
>>
findStoreList
(
String
planMonth
)
{
return
activityPlanInfoDao
.
findThisMonthStoreListByLocation
(
temporaryRegisterVo
);
return
activityPlanInfoDao
.
findThisMonthStoreListByLocation
(
planMonth
);
}
}
@Override
@Override
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论