123333
This commit is contained in:
@@ -113,6 +113,14 @@ public class SettingAppController {
|
||||
return R.ok(new AgreementDTO(userAgreement));
|
||||
}
|
||||
|
||||
@GetMapping("/agreement/privacy")
|
||||
@Operation(summary = "获取隐私协议")
|
||||
@Log(title = "获取隐私协议", businessType = BusinessType.OTHER, isSaveDb = false)
|
||||
public R<AgreementDTO> privacyAgreement() {
|
||||
String privacyAgreement = agreementSettingService.getAgreementSetting().getPrivacyAgreement();
|
||||
return R.ok(new AgreementDTO(privacyAgreement));
|
||||
}
|
||||
|
||||
@GetMapping("/agreement/anchorJoin")
|
||||
@Operation(summary = "用户主播入驻协议")
|
||||
@Log(title = "用户主播入驻协议", businessType = BusinessType.OTHER, isSaveDb = false)
|
||||
|
||||
@@ -32,4 +32,6 @@ public class AgreementSetting implements Serializable {
|
||||
*/
|
||||
private String anchorJoinAgreement;
|
||||
|
||||
private String privacyAgreement;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user