gomyck-tools 1.4.6__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.
@@ -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=10 if request.headers.get('page_size') is None else int(request.headers.get('page_size')),
180
- page_index=1 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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gomyck-tools
3
- Version: 1.4.6
3
+ Version: 1.4.8
4
4
  Summary: A tools collection for python development by hao474798383
5
5
  Author-email: gomyck <hao474798383@163.com>
6
6
  License-Expression: Apache-2.0
@@ -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=qpqmu9hxrjgd1UuIGXHs8nq1f3xmOk04L4v1Hw34qhs,8605
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.6.dist-info/licenses/LICENSE,sha256=X25ypfH9E6VTht2hcO8k7LCSdHUcoG_ALQt80jdYZfY,547
85
- gomyck_tools-1.4.6.dist-info/METADATA,sha256=7VzJxrSxS8a1A1UBPG0XOGO-_-xE6_-5sXYoBPb3d2I,1826
86
- gomyck_tools-1.4.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
87
- gomyck_tools-1.4.6.dist-info/top_level.txt,sha256=-MiIH9FYRVKp1i5_SVRkaI-71WmF1sZSRrNWFU9ls3s,7
88
- gomyck_tools-1.4.6.dist-info/RECORD,,
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,,