@Controller public class DoctorController extends Object
| Constructor and Description |
|---|
DoctorController() |
| Modifier and Type | Method and Description |
|---|---|
String |
doctorCertification(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id,
Integer status,
Long cid,
Long hid,
String position,
String name,
String idNo,
String qualifications,
String certificate,
String certificateBack) |
String |
getDoctorCertification(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id,
Integer status) |
String |
getDoctorJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
updateDoctorJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id,
String name,
String position,
String img,
String qualifications,
String introduction) |
String |
uploadFile(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
org.springframework.web.multipart.MultipartFile file,
String module) |
@RequestMapping(value="/a/u/certification",
method=POST)
public String doctorCertification(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id,
Integer status,
Long cid,
Long hid,
String position,
String name,
String idNo,
String qualifications,
String certificate,
String certificateBack)
@RequestMapping(value="/a/u/img/{module}",
method=POST)
public String uploadFile(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@RequestParam
org.springframework.web.multipart.MultipartFile file,
@PathVariable
String module)
throws Exception
Exception@RequestMapping(value="/a/u/doctor",
method=PUT)
public String updateDoctorJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id,
String name,
String position,
String img,
String qualifications,
String introduction)
throws Exception
Exception@RequestMapping(value="/a/u/doctor/{id}",
method=GET)
public String getDoctorJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
Exception@RequestMapping(value="/a/u/doctor/certification",
method=GET)
public String getDoctorCertification(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id,
Integer status)
throws Exception
ExceptionCopyright © 2017. All rights reserved.