隐私协议
This commit is contained in:
@@ -78,4 +78,15 @@ public class SysAgreementController {
|
||||
SysAgreementEntity privacyDetail = sysAgreementService.getPrivacyDetail();
|
||||
return R.ok().put("privacy",privacyDetail);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取用户协议
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping("/getUserDetail")
|
||||
public R getUserDetail(){
|
||||
SysAgreementEntity userDetail = sysAgreementService.getUserDetail();
|
||||
return R.ok().put("user",userDetail);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user