| | |
| | | import { http } from "./httpClient"; |
| | | |
| | | import { NotificationList, UserReviewsConsultantsParams } from "../models/reviews.model"; |
| | | import { NotificationList, UserReviewPlatformParams, UserReviewPlatformRes, UserReviewsConsultantsParams } from "../models/reviews.model"; |
| | | import { AppointmentLog } from "../models/appointment.model"; |
| | | |
| | | class ReviewsService { |
| | |
| | | readAllMyNotification() { |
| | | return http.post('/personal_notification/readAllMyNotification') |
| | | } |
| | | |
| | | // 客戶填寫平台滿意度 |
| | | reviewPlatform(params: UserReviewPlatformParams): Promise<UserReviewPlatformRes> { |
| | | return http.post('/satisfaction/system/score', params); |
| | | } |
| | | } |
| | | |
| | | export default new ReviewsService(); |