### API Documentation Access Source: https://github.com/codingxin/onlineschoolshop/blob/master/README.md Provides the URL to access the Swagger UI for online API preview. This allows developers to explore and test the project's API endpoints. ```APIDOC Swagger UI Access: URL: http://127.0.0.1:8081/shop/swagger-ui.html Description: This endpoint provides interactive documentation for the project's RESTful APIs. Developers can view available endpoints, their parameters, request/response formats, and test them directly. ``` -------------------------------- ### User and Admin Credentials Source: https://github.com/codingxin/onlineschoolshop/blob/master/README.md Lists the default usernames and passwords for accessing the administrator and user interfaces of the e-commerce platform. ```Credentials Admin Login: Username: admin Password: 12345678 User Login: Usernames: root, codingzx, admin Password: 12345678 ``` -------------------------------- ### WebMvcConfig - Mac Image Directory Fix Source: https://github.com/codingxin/onlineschoolshop/blob/master/README.md This snippet refers to a solution for a known issue on macOS where the application might lack permissions to create image folders. The fix involves modifying the `WebMvcConfig` class to correctly map image storage directories. ```Java // Solution for macOS image directory permission issue: // Modify the WebMvcConfig class to adjust the virtual mapping directory for images. // Example: Change the default D:/upload to a macOS-compatible path like /users/codingzx/upload (replace 'codingzx' with your actual macOS username). // Also, ensure the image storage path in the database is updated accordingly. ``` -------------------------------- ### File Storage Configuration Source: https://github.com/codingxin/onlineschoolshop/blob/master/README.md Details the default file storage paths for uploaded images across different operating systems. This configuration is crucial for handling media assets within the e-commerce application. ```Configuration Image Storage Paths: Windows: D:/upload Linux: /usr/upload macOS: Requires code modification. Search for '// todo mac需要修改地址' to update the path, e.g., '/users//upload'. ``` -------------------------------- ### SSM Version Image Display Fix Source: https://github.com/codingxin/onlineschoolshop/blob/master/README.md Describes a solution for image display issues specifically in the SSM (Spring MVC, Spring, MyBatis) version of the project. It involves manually configuring Tomcat to map a local directory to a virtual path. ```Configuration // Solution for SSM version image display issues: // Manually configure Tomcat's server.xml or context.xml to add a virtual path mapping. // Example: Map a local directory containing images to a virtual path like '/pictures'. // This allows the application to serve images from the specified local directory. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.