Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@bingoit/cms-common
Advanced tools
信息公告通用的方法,如通用的API接口等;
npm install @bingoit/cms-common --save
按需引入:
import {getContentDetail} from '@bingoit/cms-common'
方法调用: getContentDetail(id)
API接口方法:
授权接口方法:
getAuthRoleListUrl --- 获取授权角色列表的URL地址
getDingDeptTreeList --- 获取钉钉部门树形
getAuthDeptListByRoleId --- 获取授权的部门列表
submitAuthConfig --- 提交权限配置
分类接口方法:
getClassifyMenus --- 获取分类菜单列表
getClassifyDetail --- 获取分类详情信息
getClassifyListUrl --- 获取分类列表的URL地址
getClassifyList --- 获取分类列表
getClassifySortNum --- 获取分类的序号
createClassify --- 创建分类
updateClassify --- 更新分类
deleteClassify --- 删除分类
getClassifyItemUrl --- 分类选项列表URL地址
getClassifyItemList --- 分类选项列表
评论接口方法:
getCommentListUrl --- 获取评论列表URL地址
getReplyCommentUrl --- 获取评论回复列表的URL地址
getUnlikeCommentUrl --- 取消点赞的URL地址
getLikeCommentUrl --- 点赞评论的URL地址
getSubmitCommentUrl --- 提交评论的URL地址
getCommentReplyListUrl --- 获取评论回复列表的URL地址
getCommentList --- 获取评论列表数据
getCommentReplyList --- 获取评论回复列表
replyComment --- 回复评论
likeComment --- 点赞评论
unlikeComment --- 取消评论点赞
submitComment --- 提交评论
信息公告内容接口方法:
getContentDetailUrl --- 获取信息公告内容详情的URL地址
getContentDetail --- 获取信息公告内容详情
getCreateContentUrl --- 获取创建信息公告内容的URL的地址
createContent --- 创建信息公告
getCreateDraftUrl --- 获取信息公告保存到草稿箱的URL地址
createDraft --- 信息公告保存到草稿箱
getUpdateDraftUrl --- 更新信息公告草稿箱的URL地址
getUpdateContentUrl --- 更新信息公告内容的URL地址
updateDraft --- 更新草稿箱中的信息公告
updateContent --- 更新信息公告
deleteDraft --- 删除草稿箱中的信息公告
deleteContent --- 删除信息公告
getForwardContentUrl --- 获取转发内容的URL地址
forwardContent --- 转发信息公告内容
getContentHistoryListUrl --- 获取信息公告历史列表的URL地址
getContentHistoryList --- 获取信息公告历史列表
getContentMsgListUrl --- 获取信息公告管理列表的URL地址
getContentMsgList --- 获取信息公告管理列表
getDraftDetailUrl --- 获取草稿箱中信息公告详情URL地址
getDraftDetail --- 获取草稿箱中的信息公告详情
readContent --- 信息公告已读记录
isSupportComment --- 判断是否支持评论
getContentPreviewListUrl --- 获取信息公告内容预览列表URL
群组接口方法:
getGroupDetailUrl --- 获取群组详情的URL地址
getGroupDetail --- 获取群组详情
getGroupMemberListUrl --- 获取群组成员列表的URL地址
getGroupListUrl --- 获取群组列表的URL地址
getUpdateGroupUrl --- 获取更新群组的URL地址
getCreateGroupUrl --- 获取创建群组的URL地址
getGroupMemberList --- 获取群组成员列表
createGroup --- 创建群组
updateGroup --- 更新群组
deleteGroup --- 删除群组
getGroupList --- 获取群组列表
标签接口方法:
getTagListUrl --- 获取标签列表的URL地址
getUpdateTagUrl --- 更新标签的URL地址
getCreateTagUrl --- 创建标签的URL地址
getTagDetailUrl --- 获取标签详情的URL地址
getTagTreeUrl --- 获取标签树的URL地址
getTagDetail --- 获取标签详情数据
getTagList --- 获取标签列表数据
getTagSortNum --- 获取标签序号
getTagTree --- 获取标签树列表数据
createTag --- 创建标签
updateTag --- 更新标签
deleteTag --- 删除标签
FAQs
The npm package @bingoit/cms-common receives a total of 0 weekly downloads. As such, @bingoit/cms-common popularity was classified as not popular.
We found that @bingoit/cms-common demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.