rainycode 1.5.7__tar.gz → 1.5.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rainycode-1.5.7 → rainycode-1.5.8}/PKG-INFO +1 -1
- {rainycode-1.5.7 → rainycode-1.5.8}/common_servers/service/auth_svc.py +2 -2
- {rainycode-1.5.7 → rainycode-1.5.8}/pyproject.toml +1 -1
- {rainycode-1.5.7 → rainycode-1.5.8}/rainycode.egg-info/PKG-INFO +1 -1
- {rainycode-1.5.7 → rainycode-1.5.8}/common_base/aiorequests.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_base/consts.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_base/exception.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_base/logging.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_base/response.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_depends/auth_depend.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_models/__init__.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_models/base_model.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_models/file_model.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_models/user_model.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_models/wechat_model.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_servers/api/auth_api.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_servers/api/wechat_api.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_servers/router.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_servers/schemas/auth_schema.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_servers/service/file_svc.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_servers/service/wechat_svc.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_utils/bcrypt_util.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_utils/captcha_util.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_utils/datetime_util.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_utils/ip_util.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_utils/jwt_util.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_utils/snowflake_util.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/common_utils/wechat_util.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/core/base_config.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/core/databases/aiodb.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/core/databases/aioredis.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/core/middleware/http_middleware.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/core/start.py +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/rainycode.egg-info/SOURCES.txt +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/rainycode.egg-info/dependency_links.txt +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/rainycode.egg-info/requires.txt +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/rainycode.egg-info/top_level.txt +0 -0
- {rainycode-1.5.7 → rainycode-1.5.8}/setup.cfg +0 -0
|
@@ -179,7 +179,7 @@ class AuthService:
|
|
|
179
179
|
|
|
180
180
|
# 构建回调地址
|
|
181
181
|
api_prefix = f"/api/{base_config.app_name}" if base_config.app_name else ""
|
|
182
|
-
callback_url = f"{base_config.base_url}{api_prefix}/wechat/callback"
|
|
182
|
+
callback_url = f"{base_config.base_url}{api_prefix}/wechat/oauth/callback"
|
|
183
183
|
|
|
184
184
|
return WechatUtil.build_oauth_url(
|
|
185
185
|
appid=app_config.app_id,
|
|
@@ -278,7 +278,7 @@ class AuthService:
|
|
|
278
278
|
|
|
279
279
|
# 构建 snsapi_userinfo 授权链接
|
|
280
280
|
api_prefix = f"/api/{base_config.app_name}" if base_config.app_name else ""
|
|
281
|
-
callback_url = f"{base_config.base_url}{api_prefix}/wechat/callback"
|
|
281
|
+
callback_url = f"{base_config.base_url}{api_prefix}/wechat/oauth/callback"
|
|
282
282
|
userinfo_auth_url = WechatUtil.build_oauth_url(
|
|
283
283
|
appid=wechat_app.app_id,
|
|
284
284
|
redirect_uri=callback_url,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|