Backend Expert by chrysaliscat/designgraduation
npx skills add https://github.com/chrysaliscat/designgraduation --skill 'Backend Expert'此技能提供在 RuoYi-Vue 生态系统中开发和调试后端服务的专业知识。
@PreAuthorize 进行权限控制。SecurityUtils.getUserId() 安全地获取当前用户。AjaxResult。TableDataInfo。snake_case,Java 实体使用 camelCase。对于复杂查询,ResultMaps 是强制性的。场景 : 前端发送数据,但后端接收到 null。检查清单 :
@RequestBody?column="user_name" 映射到 property="userName"。@PreAuthorize("@ss.hasPermi('module:business:add')")
@PostMapping
public AjaxResult add(@RequestBody MyObject obj) {
obj.setCreateBy(SecurityUtils.getUsername());
return toAjax(myService.insert(obj));
}
@Transactional 处理事务逻辑。在添加新的 API 端点或实体字段时调用此技能。它会强制你:
resultMap。SecurityUtils 的使用。每周安装量
0
代码仓库
首次出现
1970年1月1日
安全审计
This skill provides specialized knowledge for developing and debugging backend services in the RuoYi-Vue ecosystem.
@PreAuthorize for permission control.SecurityUtils.getUserId() to get current user securely.AjaxResult for all Controller returns.TableDataInfo for pagination returns.snake_case, Java entities use camelCase. ResultMaps are mandatory for complex queries.广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
Context : Frontend sends data, but backend receives null. Checklist :
@RequestBody?column="user_name" to property="userName".@PreAuthorize("@ss.hasPermi('module:business:add')")
@PostMapping
public AjaxResult add(@RequestBody MyObject obj) {
obj.setCreateBy(SecurityUtils.getUsername());
return toAjax(myService.insert(obj));
}
@Transactional.Invoke this skill when adding new API endpoints or Entity fields. It forces you to:
resultMap in XML.SecurityUtils usage.Weekly Installs
0
Repository
First Seen
Jan 1, 1970
Security Audits
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
109,600 周安装