隐私协议

This commit is contained in:
wangjinlei
2024-01-05 13:28:24 +08:00
parent a2f023451f
commit 39ac9cf4dd
3 changed files with 21 additions and 0 deletions

View File

@@ -68,4 +68,14 @@ public class SysAgreementController {
sysAgreementService.updateById(agre);
return R.ok();
}
/**
* 获取隐私协议
* @return
*/
@RequestMapping("/getPrivacyDetail")
public R getPrivacyDetail(){
SysAgreementEntity privacyDetail = sysAgreementService.getPrivacyDetail();
return R.ok().put("privacy",privacyDetail);
}
}