From 715ebe0b3348a09d513772f2c246463f50c94ca7 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期三, 01 十二月 2021 18:02:51 +0800 Subject: [PATCH] [update]【todo 131358】otp認證錯誤detail改回傳錯誤代碼供前端轉換對應文案 --- pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java b/pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java index e77446d..79f89c9 100644 --- a/pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java +++ b/pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java @@ -1,6 +1,5 @@ package com.pollex.pam.web.rest; -import com.pollex.pam.security.SecurityUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; @@ -11,6 +10,7 @@ import org.springframework.web.bind.annotation.RestController; import com.pollex.pam.service.AppointmentService; +import com.pollex.pam.service.SatisfactionService; import com.pollex.pam.service.dto.AppointmentCreateDTO; import com.pollex.pam.service.dto.AppointmentCustomerViewDTO; @@ -20,6 +20,9 @@ @Autowired AppointmentService appointmentService; + + @Autowired + SatisfactionService satisfactionService; @PostMapping("/customer/create") public void clientCreateAppointment(@RequestBody AppointmentCreateDTO appointmentCreateDTO) { -- Gitblit v1.8.0