添加微信小程序用API,增加了新的鉴权方式#966
Open
HelloWorldZTR wants to merge 55 commits intoYuanpei-Intelligence:developfrom
Open
添加微信小程序用API,增加了新的鉴权方式#966HelloWorldZTR wants to merge 55 commits intoYuanpei-Intelligence:developfrom
HelloWorldZTR wants to merge 55 commits intoYuanpei-Intelligence:developfrom
Conversation
创建API结构
Clean validation logic for appointment
Convert subscribeOrganization and saveSubscribeStatus from app/views.py to REST API endpoints under api/group/ module: - GET /api/v2/group/subscriptions/ - List organizations with subscription status - POST /api/v2/group/subscriptions/update/ - Update subscription status
Introduce search-users endpoint Update test cases to reflect new endpoint names and add tests
添加了元气商城部分的api,同时完善了views中的extend_schema
feat: 书房后端 API
Add optional username parameter for login, implement account management features, and introduce GetMyAccountsView for retrieving accessible accounts. Update JWT issuance to include account_id and improve error handling for user permissions.
Add test & Change file name
… DailyLogin response, and enhance NotificationViewSet with serializer class to keep DRF spectacular happy
将group重命名为org 修复了appoint的test里面一些名字错误
修复了一些DRF docs渲染时候的warning
补充了元气商城api的tests,并完善了相关api以便于测试
Miniprograms can use /redirect?token=&to= as a jumpboard to authenticate the user using sessions. Pages with ?no-navbar query string will now only show the content and not the navbar and sidebar
Added TicketAuthentication class to handle one-time ticket validation for webview redirects. Safer than using JWT token
Miniprograms can use /redirect?token=&to= as a jumpboard to authenticate the user using sessions. Pages with ?no-navbar query string will now only show the content and not the navbar and sidebar
添加了注释 修复了小组账号绑定导致的越权
修改 feedback API
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
以下是完全重写的部分:
其余没有重写的部分,采用webview嵌入网页的方式暂时兼容一下,后续还需补充
主要是鉴权部分修改较大,此部分应重点关注
另外部署的时候,config.json里面需要填写appid和app secret