rainycode 1.0.1__tar.gz → 1.0.2__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.0.1 → rainycode-1.0.2}/PKG-INFO +1 -1
- {rainycode-1.0.1 → rainycode-1.0.2}/common_servers/api/auth_api.py +1 -1
- {rainycode-1.0.1 → rainycode-1.0.2}/common_servers/service/auth_svc.py +1 -1
- {rainycode-1.0.1 → rainycode-1.0.2}/common_servers/service/wechat_svc.py +1 -1
- {rainycode-1.0.1 → rainycode-1.0.2}/common_servers/strategies/base_strategy.py +1 -1
- {rainycode-1.0.1 → rainycode-1.0.2}/common_servers/strategies/password_strategy.py +1 -1
- {rainycode-1.0.1 → rainycode-1.0.2}/common_servers/strategies/wechat_stragegy.py +2 -2
- {rainycode-1.0.1 → rainycode-1.0.2}/pyproject.toml +1 -1
- {rainycode-1.0.1 → rainycode-1.0.2}/rainycode.egg-info/PKG-INFO +1 -1
- {rainycode-1.0.1 → rainycode-1.0.2}/common_base/aiorequests.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_base/consts.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_base/exception.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_base/logging.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_base/response.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_depends/auth_depend.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_models/base_model.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_models/user_model.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_models/wechat_model.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_servers/api/wechat_api.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_servers/router.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_servers/schemas/__init__.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_servers/schemas/auth_schema.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_utlis/bcrypt_util.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_utlis/captcha_util.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_utlis/ip_util.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_utlis/jwt_util.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_utlis/snowflake_util.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/common_utlis/wechat_util.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/core/base_config.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/core/databases/aiodb.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/core/databases/aioredis.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/core/middleware/http_middleware.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/core/start.py +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/rainycode.egg-info/SOURCES.txt +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/rainycode.egg-info/dependency_links.txt +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/rainycode.egg-info/requires.txt +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/rainycode.egg-info/top_level.txt +0 -0
- {rainycode-1.0.1 → rainycode-1.0.2}/setup.cfg +0 -0
|
@@ -2,7 +2,7 @@ from datetime import datetime, timedelta
|
|
|
2
2
|
import uuid
|
|
3
3
|
from common.consts import REDIS_PREFIX_BLOCKLIST, REDIS_PREFIX_REFRESH_TOKEN
|
|
4
4
|
from common.exception import CustomException
|
|
5
|
-
from
|
|
5
|
+
from common_models.user_model import User
|
|
6
6
|
from common_utlis.bcrypt_util import PwdUtil
|
|
7
7
|
from common_utlis.jwt_util import JwtUtil
|
|
8
8
|
from core.databases.aioredis import AioRedis
|
|
@@ -2,7 +2,7 @@ from datetime import datetime
|
|
|
2
2
|
|
|
3
3
|
from common.consts import REDIS_PREFIX_USER_INFO
|
|
4
4
|
from core.databases.aioredis import AioRedis
|
|
5
|
-
from
|
|
5
|
+
from common_models.user_model import User
|
|
6
6
|
from common_utlis.bcrypt_util import PwdUtil
|
|
7
7
|
from common.exception import CustomException
|
|
8
8
|
from common_servers.schemas.auth_schema import UserLogin
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import random
|
|
2
|
-
from
|
|
3
|
-
from
|
|
2
|
+
from common_models.user_model import User
|
|
3
|
+
from common_models.wechat_model import WechatApp, WechatUser, AppTypeEnum
|
|
4
4
|
from common_servers.schemas.auth_schema import WechatLogin
|
|
5
5
|
from common_utlis.wechat_util import WechatUtil
|
|
6
6
|
from common.exception import CustomException
|
|
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
|