|
@ -11,6 +11,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
import com.yihu.wlyy.entity.doctor.profile.Doctor;
|
|
import com.yihu.wlyy.entity.doctor.profile.Doctor;
|
|
@ -75,9 +76,9 @@ public class SignTeamController extends BaseController {
|
|
* @param doctor 医生标识
|
|
* @param doctor 医生标识
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@RequestMapping(value = "info", method = RequestMethod.GET)
|
|
|
|
|
|
@RequestMapping(value = "info")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
public String info(String doctor) {
|
|
|
|
|
|
public String info(@RequestParam(required = true,value = "doctor")String doctor) {
|
|
try {
|
|
try {
|
|
Doctor temp = doctorInfoService.findDoctorByCode(doctor);
|
|
Doctor temp = doctorInfoService.findDoctorByCode(doctor);
|
|
if (temp != null) {
|
|
if (temp != null) {
|