Skip to content

Dev 2.7.9 #1992

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 28 commits into from
Closed

Dev 2.7.9 #1992

wants to merge 28 commits into from

Conversation

krank666
Copy link
Member

No description provided.

task and others added 28 commits January 6, 2025 21:36
…directly (#1983)

- 重构 JWT token 生成,使用 `New()` 函数代替直接创建实例
- 优化 SetUserAuthority 中的错误处理流程,移除 else 代码块
- 移除多余的 err != nil 判断
* 媒体库增加分类,图库多选择时优化。
)

* Replace `strings.Index` with `strings.Contains` for better readability

Replace `strings.Index(str, substr) > -1` with `strings.Contains(str, substr)`
使用 strings.Contains 替代 strings.Index 方法

* refactor: rename error with `Err` prefix to follow Go conventions

- Rename JWT error variables with `Err` prefix following Go conventions.
- Improve error messages to be more consistent and lowercase, more to see https://go.dev/wiki/CodeReviewComments#error-strings
- Update JWT error references in middleware
This change improves code readability and follows better Go naming conventions for error variables.
优化关于我们界面
fix: 添加内部 iframe 展示网页,优化 permission.js 逻辑
俩个uuid库合并一个,更新库到当前版本。
@krank666 krank666 requested a review from pixelmaxQm February 13, 2025 06:25
@pixelmaxQm pixelmaxQm closed this Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants