Summary: - Implement PKB Dashboard and Workspace pages based on V3 prototype - Add single-layer header with integrated Tab navigation - Implement 3 work modes: Full Text, Deep Read, Batch Processing - Integrate Ant Design X Chat component for AI conversations - Create BatchModeComplete with template selection and document processing - Add compact work mode selector with dropdown design Backend: - Migrate PKB controllers and services to /modules/pkb structure - Register v2 API routes at /api/v2/pkb/knowledge - Maintain dual API routes for backward compatibility Technical details: - Use Zustand for state management - Handle SSE streaming responses for AI chat - Support document selection for Deep Read mode - Implement batch processing with progress tracking Known issues: - Batch processing API integration pending - Knowledge assets page navigation needs optimization Status: Frontend functional, pending refinement
32 lines
557 B
PHP
32 lines
557 B
PHP
<?php
|
||
/**
|
||
* REDCap Admin密码重置脚本
|
||
* 用途:重置Admin用户密码
|
||
*/
|
||
|
||
require_once '/var/www/html/redcap/redcap_connect.php';
|
||
require_once APP_PATH_CLASSES . 'Authentication.php';
|
||
|
||
$username = 'Admin';
|
||
$new_password = 'Admin123!';
|
||
|
||
echo "Resetting password for user: $username\n";
|
||
$result = Authentication::setPassword($username, $new_password, true);
|
||
|
||
if ($result) {
|
||
echo "✅ Password reset successful!\n";
|
||
echo "Username: Admin\n";
|
||
echo "New Password: Admin123!\n";
|
||
} else {
|
||
echo "❌ Password reset failed!\n";
|
||
}
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|