feige
2024-09-03 c8ea9050a3e82eba68617c1a85ebb8b93eb885a3
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.*;
@@ -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);