- Add SendSmsMessage class for encapsulating SMS message data. - Create KavehNegarProvider and RanginehProvider classes implementing SmsProviderInterface for sending SMS. - Implement SmsLogRepository and SmsTemplateRepository for managing SMS logs and templates. - Develop SendSmsHandler for handling SMS sending messages. - Create SmsService to manage SMS dispatching and logging. - Add UserProfileController for managing user profiles with CRUD operations. - Implement UserProfile entity and repository for user profile data management. - Update symfony.lock and bootstrap.php for project dependencies and environment setup.
1.0 KiB
1.0 KiB
نکات پیادهسازی — تسک ۰۶: ماژول کلینیک
لیست دکترهای کلینیک
endpoint GET /api/v1/clinic/doctor-list/{uuid} لیست دکترهایی که
به این کلینیک تعلق دارند را برمیگرداند. اطلاعات دکتر شامل:
- نام، تخصص، تصویر، میانگین امتیاز
آپلود دو نوع تصویر
کلینیک دو تصویر دارد:
image: تصویر اصلی/배너 کلینیک (حداکثر ۵MB)logo: لوگوی کلینیک (حداکثر ۲MB، ترجیحاً مربعی)
هر دو در مسیر public/uploads/clinics/ ذخیره میشوند.
مجوزها
POST /api/v1/clinic → ROLE_ADMIN
GET /api/v1/clinic/{uuid} → عمومی
PATCH /api/v1/clinic/{uuid} → owner یا ROLE_ADMIN
GET /api/v1/clinics → عمومی
GET clinic/doctor-list → عمومی
POST clinic/image → owner یا ROLE_ADMIN
POST clinic/logo → owner یا ROLE_ADMIN