Commit 2b335a8c authored by shiyu's avatar shiyu

签到2

parent f1ed8e80
......@@ -51,7 +51,7 @@ public class WebMvcConfiguration implements WebMvcConfigurer {
"/wx/exchange/findExchangeItem", "/wx/specialPerformance/findInfos", "/wx/specialPerformance/findItemList",
"/wx/groupPurchase/findList", "/wx/groupPurchase/findItemDetail", "/wx/exchangeApplyOrder/handleApplyOrder", "/wx/supplierItem/findDiscountList",
"/wx/storage/uploadVideo",
"/wx/appletPageConfig/**", "/wx/blindBox/**"
"/wx/appletPageConfig/**", "/wx/blindBox/**", "/wx/userSignIn/**"
//下列路径上线注释
,"/wx/sellActivity/**"
// ,"/wx/itemTagOperate/**", "/wx/openShop/**", "/wx/earnestRecord/**", "/wx/auctionEarnest/**", "/wx/userAccount/**"
......
package com.wwdz.ch.wx.entity.vo;
/**
* 签到奖励
*/
public class SignInRewardVo {
}
......@@ -242,6 +242,11 @@ public class UserSigninServiceImpl implements UserSigninService {
signDateRecord.setIsGet(signDateMap.get(dateStr).getIsGet());
signDateRecord.setRewardLevel(signDateMap.get(dateStr).getRewardLevel());
signDateRecord.setConsecutiveDays(signDateMap.get(dateStr).getConsecutiveDays());
if (signDateMap.get(dateStr).getConsecutiveDays() == 7) {
resultMap.put("level1", signDateMap.get(dateStr).getIsGet());
} else {
}
} else {
signDateRecord.setIsSignIn(false);
signDateRecord.setIsReward(false);
......
......@@ -12,6 +12,7 @@ public interface UserSigninService {
*/
Result signIn(UserSignInRequestDto dto);
/**
* 领取奖励
* @param dto
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment