| | |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.domain.ShareMore; |
| | | import com.ruoyi.service.ZfDoctorShareService; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | |
| | | /** |
| | | * 用户自己查看别人分享的数据和分享人 |
| | | */ |
| | | @PostMapping("/getInfoByShareId") |
| | | public AjaxResult empowerGetInfo2(@RequestBody Long shareId){ |
| | | return zfDoctorShareService.listByUserId(shareId); |
| | | @GetMapping("/getInfoByShareId") |
| | | public AjaxResult empowerGetInfo2(){ |
| | | return zfDoctorShareService.listByUserId(); |
| | | } |
| | | /** |
| | | * 根据userId和shareId收回已经授权给那些人 |