Skip to content

Commit

Permalink
修改 blog 示例,使用 security、jwt 来实现认证功能
Browse files Browse the repository at this point in the history
  • Loading branch information
lccf committed Jun 9, 2024
1 parent c27754b commit 3072214
Show file tree
Hide file tree
Showing 9 changed files with 411 additions and 275 deletions.
2 changes: 1 addition & 1 deletion .umirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ export default defineConfig({
children: [
'learn/blog-intro.md',
'learn/blog-create-project.md',
'learn/blog-db-conn.md',
'learn/blog-api.md',
'learn/blog-db-conn.md',
'learn/blog-category.md',
'learn/blog-post.md',
'learn/blog-tag.md',
Expand Down
2 changes: 1 addition & 1 deletion docs/learn/blog-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface ResponseData<T> {
导出数据构结定义`src/common/index.ts`

```ts
export * from './data/response-data';
export * from "./data/response-data";
```

创建工具函数格式化输出结果`src/backend/utils/index.ts`
Expand Down
Loading

0 comments on commit 3072214

Please sign in to comment.