添加各个接口
parent
cffc10349c
commit
67e39ccc64
|
@ -106,11 +106,6 @@ public class SysRoleController extends BaseController
|
|||
* @param file
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/searchBaidu")
|
||||
public R<?> searchBaidu(@RequestBody MultipartFile file){
|
||||
String bodys = userService.searchBaidu(file);
|
||||
return R.ok(bodys);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -20,9 +20,6 @@ import com.four.system.domain.SysDoctor;
|
|||
import com.four.system.domain.SysRegistrationInformation;
|
||||
import com.four.system.service.*;
|
||||
import org.apache.commons.lang3.ArrayUtils;
|
||||
import org.apache.poi.hpsf.Decimal;
|
||||
import org.apache.xmlbeans.impl.jam.mutable.MElement;
|
||||
import org.aspectj.weaver.loadtime.Aj;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
@ -149,6 +146,11 @@ public class SysUserController extends BaseController
|
|||
}
|
||||
|
||||
|
||||
/***
|
||||
* 人脸登录
|
||||
* @param email
|
||||
* @return
|
||||
*/
|
||||
@InnerAuth
|
||||
@GetMapping("/infoByUserEmail/{email}")
|
||||
public R<LoginUser> infoByUserEmail(@PathVariable("email") String email){
|
||||
|
@ -389,7 +391,7 @@ public class SysUserController extends BaseController
|
|||
* @param userId
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("findByUserId/{userId}")
|
||||
@PostMapping("findByUserId/{userId}")
|
||||
public R<SysUser> findByUserId(@PathVariable("userId") Long userId){
|
||||
SysUser sysUser = userService.selectUserById(userId);
|
||||
return R.ok(sysUser,"查询成功");
|
||||
|
@ -440,6 +442,9 @@ public class SysUserController extends BaseController
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/***
|
||||
* 查询综合排序医生信息
|
||||
* @param medicalDepartmentId
|
||||
|
@ -468,11 +473,15 @@ public class SysUserController extends BaseController
|
|||
|
||||
/**
|
||||
* 医生详情表
|
||||
* @param registrationInformationId
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
|
||||
|
||||
@GetMapping("/searchUser")
|
||||
public R searchUser(){
|
||||
SysUser sysUser = userService.selectUserById(1L);
|
||||
System.out.println(sysUser.toString());
|
||||
return R.ok(sysUser);
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("findRegistrationInformation/{registrationInformationId}")
|
||||
|
|
|
@ -660,10 +660,4 @@ public class SysUserServiceImpl implements ISysUserService
|
|||
return "请先实名认证";
|
||||
}
|
||||
|
||||
/**
|
||||
* 人脸登陆
|
||||
* @param file
|
||||
* @return
|
||||
*/
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue