轮播图和用户消息
This commit is contained in:
@@ -55,6 +55,8 @@ public interface IParamService extends BaseService<Param> {
|
||||
|
||||
String getFormalAppPrivacy();
|
||||
|
||||
String formalAppAgreement();
|
||||
|
||||
List<PayOrderDicDTO> getOrderBizModel();
|
||||
|
||||
BigDecimal getMallCashToPointRate();
|
||||
@@ -67,4 +69,5 @@ public interface IParamService extends BaseService<Param> {
|
||||
|
||||
WatchVideoTimeRangeDTO watchVideoTimeRange();
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -60,6 +60,7 @@ public class ParamServiceImpl extends BaseServiceImpl<ParamMapper, Param> implem
|
||||
|
||||
private static final String APP_USER_REGISTER_ROLE = "yichayilu:app:register:role-info";
|
||||
private static final String APP_FORMAL_USER_PRIVACY = "yichayilu:app:formal:user:privacy";
|
||||
private static final String APP_FORMAL_USER_AGREEMENT = "yichayilu:app:formal:user:agreement";
|
||||
private static final String APP_FORMAL_ORDER_MODEL_TYPE = "yichayilu:app:formal:order:model_type";
|
||||
private static final String APP_FORMAL_MALL_CASH_TO_POINT_RATE = "yichayilu:app:formal:mall.cash.to.point.Rate";
|
||||
private static final String APP_FORMAL_MALL_CUT_AMOUNT_RANG = "yichayilu:app:formal:mall.cut.amount.rang";
|
||||
@@ -72,6 +73,10 @@ public class ParamServiceImpl extends BaseServiceImpl<ParamMapper, Param> implem
|
||||
private Boolean dailySignIsLookAtAds;
|
||||
private WatchVideoTimeRangeDTO watchVideoTimeRangeDTO;
|
||||
|
||||
private String appFormalUserPrivacy;
|
||||
|
||||
private String appFormalUserAgreement;
|
||||
|
||||
@XxlJob("yichayilu-app-userRegisterInfo")
|
||||
@PostConstruct
|
||||
public void initAppUserRegisterInfo() {
|
||||
@@ -80,6 +85,16 @@ public class ParamServiceImpl extends BaseServiceImpl<ParamMapper, Param> implem
|
||||
}
|
||||
|
||||
|
||||
@XxlJob("yichayilu-app-privacy-agreement")
|
||||
@PostConstruct
|
||||
public void initAppUserPrivacyAgreement() {
|
||||
Param privacyParam = this.getOne(Wrappers.<Param>query().lambda().eq(Param::getParamKey, APP_FORMAL_USER_PRIVACY));
|
||||
Param agreementParam = this.getOne(Wrappers.<Param>query().lambda().eq(Param::getParamKey, APP_FORMAL_USER_AGREEMENT));
|
||||
appFormalUserPrivacy = privacyParam.getParamValue();
|
||||
appFormalUserAgreement = agreementParam.getParamValue();
|
||||
}
|
||||
|
||||
|
||||
@XxlJob("yichayilu-dailysign-isLookAds")
|
||||
@PostConstruct
|
||||
public void initDailySignIsLookAds() {
|
||||
@@ -107,8 +122,13 @@ public class ParamServiceImpl extends BaseServiceImpl<ParamMapper, Param> implem
|
||||
|
||||
@Override
|
||||
public String getFormalAppPrivacy() {
|
||||
Param param = this.getOne(Wrappers.<Param>query().lambda().eq(Param::getParamKey, APP_FORMAL_USER_PRIVACY));
|
||||
return param.getParamValue();
|
||||
return appFormalUserPrivacy;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String formalAppAgreement() {
|
||||
|
||||
return appFormalUserAgreement;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user