-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 自动化代码增加json导出和导入功能 * feat: 自动化代码前端可见分为Table和Form分别选中 * feature: 调整代码预览为左边栏模式的tabs。 * feat: 增加方法自动添加前端api * feat: 自动化生成前端支持详情功能 * feat: 增加自动创建可控权限按钮功能 * fixed: 顶栏样式菜单样式细节bug修复 * fixed: 修改视频地址 * fixed: 自动获取表结构和数据库表列结构保持一致 * fixed: casbin 设置空权限无需调用 AddPolicies 方法 (#1850) * feat:对象存储支持配置Cloudflare R2 (#1849) * fixed:设为首页和菜单勾选互为必选 --------- Co-authored-by: SliverHorn <[email protected]> Co-authored-by: 千石 <[email protected]> * feat: 复杂数据类型的查询将不会生成查询语句,会以string形式接收参数,用户自行实现复杂查询逻辑。 * feat: 创建新角色默认携带字典和长传权限。 禁止删除有首页占用的菜单。 不允许切换至无首页的角色。 自动化代码创建失败将返回错误信息。 * feat: 当package或plugin结构异常时候,阻止创建自动化代码。 --------- Co-authored-by: krank <[email protected]> Co-authored-by: SliverHorn <[email protected]> Co-authored-by: 千石 <[email protected]>
- Loading branch information
1 parent
3b5c96d
commit c9477d3
Showing
40 changed files
with
617 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{{if .IsPlugin}} | ||
// {{.FuncName}} 等待开发的的{{.Description}}接口 | ||
// @Tags {{.StructName}} | ||
// @Summary 等待开发的的{{.Description}}接口 | ||
// @accept application/json | ||
// @Produce application/json | ||
// @Param data query request.{{.StructName}}Search true "分页获取{{.Description}}列表" | ||
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功" | ||
// @Router /{{.Abbreviation}}/{{.Router}} [{{.Method}}] | ||
export const {{.Router}} = () => { | ||
return service({ | ||
url: '/{{.Abbreviation}}/{{.Router}}', | ||
method: '{{.Method}}' | ||
}) | ||
} | ||
|
||
{{- else -}} | ||
|
||
// {{.FuncName}} 等待开发的的{{.Description}}接口 | ||
// @Tags {{.StructName}} | ||
// @Summary 等待开发的的{{.Description}}接口 | ||
// @accept application/json | ||
// @Produce application/json | ||
// @Param data query {{.Package}}Req.{{.StructName}}Search true "成功" | ||
// @Success 200 {object} response.Response{data=object,msg=string} "成功" | ||
// @Router /{{.Abbreviation}}/{{.Router}} [{{.Method}}] | ||
export const {{.Router}} = () => { | ||
return service({ | ||
url: '/{{.Abbreviation}}/{{.Router}}', | ||
method: '{{.Method}}' | ||
}) | ||
} | ||
|
||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.