123
This commit is contained in:
@@ -111,7 +111,8 @@ public class SettingAppController {
|
||||
@Log(title = "获取用户协议", businessType = BusinessType.OTHER, isSaveDb = false)
|
||||
@SaIgnore
|
||||
public R<AgreementDTO> userAgreement() {
|
||||
String userAgreement = agreementSettingService.getAgreementSetting().getUserAgreement();
|
||||
// String userAgreement = agreementSettingService.getAgreementSetting().getUserAgreement();
|
||||
String userAgreement = systemConfigManager.getSystemConfig(SystemConfigEnum.USER_AGREEMENT);
|
||||
return R.ok(new AgreementDTO(userAgreement));
|
||||
}
|
||||
|
||||
@@ -120,7 +121,8 @@ public class SettingAppController {
|
||||
@Log(title = "获取隐私协议", businessType = BusinessType.OTHER, isSaveDb = false)
|
||||
@SaIgnore
|
||||
public R<AgreementDTO> privacyAgreement() {
|
||||
String privacyAgreement = agreementSettingService.getAgreementSetting().getPrivacyAgreement();
|
||||
// String privacyAgreement = agreementSettingService.getAgreementSetting().getPrivacyAgreement();
|
||||
String privacyAgreement = systemConfigManager.getSystemConfig(SystemConfigEnum.PRIVACY_AGREEMENT);
|
||||
return R.ok(new AgreementDTO(privacyAgreement));
|
||||
}
|
||||
|
||||
@@ -128,7 +130,8 @@ public class SettingAppController {
|
||||
@Operation(summary = "用户主播入驻协议")
|
||||
@Log(title = "用户主播入驻协议", businessType = BusinessType.OTHER, isSaveDb = false)
|
||||
public R<AgreementDTO> anchorJoinAgreement() {
|
||||
String anchorJoinAgreement = agreementSettingService.getAgreementSetting().getAnchorJoinAgreement();
|
||||
// String anchorJoinAgreement = agreementSettingService.getAgreementSetting().getAnchorJoinAgreement();
|
||||
String anchorJoinAgreement = systemConfigManager.getSystemConfig(SystemConfigEnum.ANCHOR_JOIN_AGREEMENT);
|
||||
return R.ok(new AgreementDTO(anchorJoinAgreement));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user