jx
This commit is contained in:
1 parent
8270a027a4
commit
ffe72bab70
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -91,7 +91,7 @@ public interface RemoterVisitorService {
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/visitors/register")
|
||||
public R<RegisterAppointmentResponse> registerAppointment(@Valid @RequestBody RegisterAppointmentRequest request);
|
||||
public RegisterAppointmentResponse registerAppointment(@Valid @RequestBody RegisterAppointmentRequest request);
|
||||
|
||||
/**
|
||||
* 访客签离
|
||||
|
||||
+2
-2
@@ -113,9 +113,9 @@ public class VisitorController {
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/register")
|
||||
public R<RegisterAppointmentResponse> registerAppointment(@Valid @RequestBody RegisterAppointmentRequest request) {
|
||||
public RegisterAppointmentResponse registerAppointment(@Valid @RequestBody RegisterAppointmentRequest request) {
|
||||
RegisterAppointmentResponse registerAppointmentResponse = visitorService.registerAppointment(request);
|
||||
return R.ok(registerAppointmentResponse);
|
||||
return registerAppointmentResponse;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user