| | |
| | | import com.moral.api.pojo.query.app.AppAllocationFileCond; |
| | | import com.moral.api.pojo.query.app.AppAllocationPageCond; |
| | | import com.moral.api.pojo.vo.app.AppAllocationFindVo; |
| | | import com.moral.api.pojo.vo.app.AppAuthority; |
| | | import com.moral.constant.PageResult; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | @ApiOperation(value = "分享权限") |
| | | public ResultMessage authority(@RequestParam @ApiParam(value = "allocationNum",name = "单号") String allocationNum, |
| | | @RequestParam @ApiParam(value = "userId",name = "用户Id") Integer userId){ |
| | | boolean authority = allocationService.authority(allocationNum,userId); |
| | | AppAuthority authority = allocationService.authority(allocationNum, userId); |
| | | return ResultMessage.ok(authority); |
| | | } |
| | | |