- 移除 `UserInfoController`,新增 `UserControllers` 使用 `UserService` - 添加 `UserService` 用于处理用户信息 - 新增 `UserProfile` DTO - 添加数据库迁移以支持用户表结构
28 lines
853 B
Plaintext
28 lines
853 B
Plaintext
@page
|
|
@model PersonalDataModel
|
|
@{
|
|
ViewData["Title"] = "个人数据";
|
|
ViewData["ActivePage"] = ManageNavPages.PersonalData;
|
|
}
|
|
|
|
<h3>个人数据</h3>
|
|
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<p>Your account contains personal data that you have given us. This page allows you to download or delete that data.</p>
|
|
<p>
|
|
<strong>Deleting this data will permanently remove your account, and this cannot be recovered.</strong>
|
|
</p>
|
|
<form id="download-data" asp-page="DownloadPersonalData" method="post">
|
|
<button class="btn btn-primary" type="submit">Download</button>
|
|
</form>
|
|
<p>
|
|
<a id="delete" asp-page="DeletePersonalData" class="btn btn-danger">Delete</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
@section Scripts {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|