gomyck-tools 1.4.7__py3-none-any.whl → 1.4.8__py3-none-any.whl
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.
- ctools/web/bottle_web_base.py +2 -2
- {gomyck_tools-1.4.7.dist-info → gomyck_tools-1.4.8.dist-info}/METADATA +1 -1
- {gomyck_tools-1.4.7.dist-info → gomyck_tools-1.4.8.dist-info}/RECORD +6 -6
- {gomyck_tools-1.4.7.dist-info → gomyck_tools-1.4.8.dist-info}/WHEEL +0 -0
- {gomyck_tools-1.4.7.dist-info → gomyck_tools-1.4.8.dist-info}/licenses/LICENSE +0 -0
- {gomyck_tools-1.4.7.dist-info → gomyck_tools-1.4.8.dist-info}/top_level.txt +0 -0
ctools/web/bottle_web_base.py
CHANGED
|
@@ -176,8 +176,8 @@ def params_resolve(func):
|
|
|
176
176
|
if request.method == 'GET' or request.method == 'DELETE':
|
|
177
177
|
queryStr = request.query.decode('utf-8')
|
|
178
178
|
page_info = PageInfo(
|
|
179
|
-
page_size=int(request.query.page_size) if request.headers.get('page_size') is None else int(request.headers.get('page_size')),
|
|
180
|
-
page_index=int(request.query.page_index) if request.headers.get('page_index') is None else int(request.headers.get('page_index'))
|
|
179
|
+
page_size=int(request.query.page_size if request.query.page_size else '10') if request.headers.get('page_size') is None else int(request.headers.get('page_size')),
|
|
180
|
+
page_index=int(request.query.page_index if request.query.page_index else '1') if request.headers.get('page_index') is None else int(request.headers.get('page_index'))
|
|
181
181
|
)
|
|
182
182
|
queryStr = auto_exchange(func, queryStr)
|
|
183
183
|
queryStr.page_info = page_info
|
|
@@ -74,15 +74,15 @@ ctools/util/snow_id.py,sha256=KCuQ0zOTlmus8gZetmRA5y0jBSd8J0KXcJ33EzgCKjE,2225
|
|
|
74
74
|
ctools/web/__init__.py,sha256=koSNYeKF5Z_xbp4Q2qbZ4ZP-3--1phbOYN9e4SJy_gk,98
|
|
75
75
|
ctools/web/aio_web_server.py,sha256=p46BOU3_m4Jb57yAACeedKjhlFc1YC0QJSUe2selBgA,5693
|
|
76
76
|
ctools/web/api_result.py,sha256=i1MjTnnlgkWl_q07xr-TLQeLYlXEh4DEclUFE414nSk,1568
|
|
77
|
-
ctools/web/bottle_web_base.py,sha256=
|
|
77
|
+
ctools/web/bottle_web_base.py,sha256=ddBs5RsZmAogM1QxGcnOMAqD0N8vugREVbAewC3_0aw,8735
|
|
78
78
|
ctools/web/bottle_webserver.py,sha256=0xHLnuGIShxrEHc2mLnyx43NDVkCqM5QnlkY-Ndzrk4,6650
|
|
79
79
|
ctools/web/bottle_websocket.py,sha256=xsu9fAtTuR5DsSsQjiBfaYxLjOWFyfr1sYM6cktTovI,1957
|
|
80
80
|
ctools/web/ctoken.py,sha256=WaB29kqGlKAh21aUw5avl2h8AgLD1aESw8KCpqaN5nM,2539
|
|
81
81
|
ctools/web/download_util.py,sha256=v0JTXiED1bvoWFfwfd-LD5s7_aoRQ0lCkaGwSnSp7WI,1954
|
|
82
82
|
ctools/web/params_util.py,sha256=eJDV3PSq-ZHb8UZf6xqs8kOhbyZzits1H9yPoUBIDXg,828
|
|
83
83
|
ctools/web/upload_util.py,sha256=z1QQCi4SFx08jrAQH5-Y_ShiM4MghuD_5Qz6V9KK_4U,1076
|
|
84
|
-
gomyck_tools-1.4.
|
|
85
|
-
gomyck_tools-1.4.
|
|
86
|
-
gomyck_tools-1.4.
|
|
87
|
-
gomyck_tools-1.4.
|
|
88
|
-
gomyck_tools-1.4.
|
|
84
|
+
gomyck_tools-1.4.8.dist-info/licenses/LICENSE,sha256=X25ypfH9E6VTht2hcO8k7LCSdHUcoG_ALQt80jdYZfY,547
|
|
85
|
+
gomyck_tools-1.4.8.dist-info/METADATA,sha256=F5CFbFfhZQJ8hJjctpn6VZcpshmGb1h8V9mQIk8wAEY,1826
|
|
86
|
+
gomyck_tools-1.4.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
87
|
+
gomyck_tools-1.4.8.dist-info/top_level.txt,sha256=-MiIH9FYRVKp1i5_SVRkaI-71WmF1sZSRrNWFU9ls3s,7
|
|
88
|
+
gomyck_tools-1.4.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|