Skip to content

Adapt to frontend#162

Merged
wu-clan merged 5 commits into
fastapi-practices:masterfrom
downdawn:adapt_to_frontend
Jul 1, 2023
Merged

Adapt to frontend#162
wu-clan merged 5 commits into
fastapi-practices:masterfrom
downdawn:adapt_to_frontend

Conversation

@downdawn

@downdawn downdawn commented Jun 28, 2023

Copy link
Copy Markdown
Collaborator

adapt arco pro frontend.

@downdawn

Copy link
Copy Markdown
Collaborator Author

Please review.

@downdawn
downdawn requested a review from wu-clan June 28, 2023 14:31
Comment thread backend/app/api/v1/user.py Outdated
Comment thread backend/app/crud/crud_menu.py
Comment thread backend/app/crud/crud_role.py
Comment thread backend/app/schemas/user.py Outdated
Comment thread backend/app/schemas/user.py
Comment thread backend/app/api/routers.py Outdated
* annotate captcha
* update interface to restful specification
* update info to me
@downdawn

Copy link
Copy Markdown
Collaborator Author

please review.

@downdawn
downdawn requested a review from wu-clan June 29, 2023 02:03
Comment thread backend/app/models/sys_menu.py
@wu-clan

wu-clan commented Jun 30, 2023

Copy link
Copy Markdown
Member

test data sql:

insert into fba.sys_menu (id, name, level, sort, icon, path, menu_type, component, perms, status, remark, parent_id, created_time, updated_time, show, cache)
values  (1, 'test', 0, 0, null, null, 0, null, null, 1, null, null, '2023-06-26 17:13:45', null, 1, 1),
        (2, 'dashboard', 0, 0, 'icon-dashboard', '/dashboard', 0, '/dashboard/workplace/index.vue', null, 1, null, null, '2023-06-30 10:10:34', null, 1, 1),
        (3, 'Workplace', 0, 0, null, '/workplace', 0, null, null, 1, null, 2, '2023-06-30 10:11:40', null, 1, 1),
        (4, 'arcoWebsite', 0, 0, 'icon-link', 'https://arco.design', 0, null, null, 1, null, null, '2023-06-30 10:13:04', null, 1, 1),
        (5, 'log', 0, 0, 'icon-bug', '/log', 0, null, null, 1, null, null, '2023-06-30 10:13:54', null, 1, 1),
        (6, 'Login', 0, 0, null, '/login', 0, '/log/login/index.vue', null, 1, null, 5, '2023-06-30 10:14:23', null, 1, 1),
        (7, 'faq', 0, 0, 'icon-question-circle', 'https://arco.design/vue/docs/pro/faq', 0, null, null, 1, null, null, '2023-06-30 10:14:56', null, 1, 1);

@downdawn

Copy link
Copy Markdown
Collaborator Author

Perhaps we can merge this branch first and then handle the menu separately?

@wu-clan

wu-clan commented Jul 1, 2023

Copy link
Copy Markdown
Member

OK.

@wu-clan
wu-clan merged commit ee57c08 into fastapi-practices:master Jul 1, 2023
@downdawn
downdawn deleted the adapt_to_frontend branch July 8, 2023 02:04
chuxijin pushed a commit to chuxijin/fba that referenced this pull request Feb 8, 2026
* Adapt to the frontend.
* Fix role update exception.
* add current user info interface.
* add meta schema
* annotate captcha
* update interface to restful specification
* update info to me
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.

3 participants