PAMapp/shared/services/reviews.service.ts
@@ -5,11 +5,17 @@ class ReviewsService { //客戶進行滿意度評分 //客戶進行滿意度評分(單筆) userReviewsConsultants(data: UserReviewsConsultantsParams) { return http.post('/satisfaction/score', data ); return http.post('/satisfaction/score', data); } // 客戶進行滿意度(多筆) allUserReviewsConsultants(data: UserReviewsConsultantsParams[]) { return http.post('/satisfaction/score/all', data); } //取得所有評分紀錄 async getMyReviewLog(): Promise<AppointmentLog[]> { return http.get('/satisfaction/getMySatisfaction').then(res => res.data);