|
@@ -3,6 +3,7 @@ package thyyxxk.wxservice_server.controller;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
+import thyyxxk.wxservice_server.config.auth.PassToken;
|
|
|
import thyyxxk.wxservice_server.entity.BriefPatInfo;
|
|
|
import thyyxxk.wxservice_server.entity.ResultVo;
|
|
|
import thyyxxk.wxservice_server.entity.appointment.*;
|
|
@@ -30,6 +31,7 @@ public class AppointmentController {
|
|
|
return service.getAllDepartments();
|
|
|
}
|
|
|
|
|
|
+ @PassToken
|
|
|
@GetMapping("/refreshMzClasses")
|
|
|
public ResultVo<String> refreshMzClasses() {
|
|
|
return service.refreshMzClasses();
|