• 王鹏飞's avatar
    feat: add case synchronization feature and integrate OSS for JSON storage · 6fcb7409
    由 王鹏飞 提交于
    - Added `ali-oss` dependency for OSS integration.
    - Implemented `import-cases.js` script to read and normalize case data from a JSON source.
    - Enhanced configuration to include OSS settings for case JSON storage.
    - Created `oss.js` library for handling OSS uploads.
    - Updated error handling middleware to improve status code validation.
    - Refactored authentication service to cache user data and reduce redundant requests.
    - Introduced `syncCasesToPublic` function in the cases service to upload case data to OSS.
    - Added new route for case synchronization in the DMS routes.
    - Updated project service to ensure consistent product name handling.
    6fcb7409
oss.js 864 Bytes