feige
2024-09-12 7839b4c5471c1cd48cd1db87346448c26b11912a
ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZfEventShareController.java
@@ -6,6 +6,7 @@
import com.ruoyi.common.utils.ServletUtils;
import com.ruoyi.domain.ShareMore;
import com.ruoyi.domain.ZfDownload;
import com.ruoyi.service.ZIdeaShareService;
import com.ruoyi.service.ZfEventDownloadService;
import com.ruoyi.service.ZfEventShareService;
import org.springframework.web.bind.annotation.*;
@@ -16,7 +17,7 @@
import static com.ruoyi.common.core.page.TableSupport.PAGE_SIZE;
@RestController
@RequestMapping("/familyShare")
@RequestMapping("/family/zfEventShare")
public class ZfEventShareController extends BaseController {
    @Resource
    ZfEventShareService zfEventShareService;
@@ -24,6 +25,19 @@
    @Resource
    ZfEventDownloadService zfEventDownloadService;
    @Resource
    ZIdeaShareService zIdeaShareService;
    @GetMapping("/shareUser/{userId}/{menuId}")
    public AjaxResult selectUserShareInfo(@PathVariable  Integer userId, @PathVariable Long menuId){
        return zIdeaShareService.selectShareUserInfo(userId, menuId);
    }
    /**
     *
     * @param zfDoctor
     * @return
     */
    @PostMapping("/share")
    public AjaxResult share(@RequestBody ShareMore zfDoctor){
        zfDoctor.setSysMenuId(2013L);