feat: 添加应用审核状态检查和使用SweetAlert弹窗
- 在app.php中添加应用审核状态检查,未通过审核时显示提示弹窗 - 引入SweetAlert2库用于统一弹窗样式 - 修改登录逻辑支持邮箱/用户名两种登录方式 - 修复profile.php中的表单标签错误 - 在数据库中添加is_approved字段标记应用审核状态 - 添加项目规则文档规定统一使用SweetAlert弹窗
This commit is contained in:
@@ -167,9 +167,7 @@ if (!($conn instanceof mysqli)) {
|
||||
<label for="username">用户名</label>
|
||||
<input type="text" class="form-control" id="username" name="username" value="<?php echo htmlspecialchars($developer['username']); ?>" placeholder="请输入用户名">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">保存更改</button>
|
||||
?>" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="email">邮箱</label>
|
||||
<input type="email" class="form-control" id="email" name="email" value="<?php echo htmlspecialchars($developer['email']); ?>" required>
|
||||
|
||||
Reference in New Issue
Block a user