需求excel

This commit is contained in:
caoqianming 2020-11-09 22:54:21 +08:00
parent 9f7535315c
commit 3d715bc30a
4 changed files with 4 additions and 8 deletions

View File

@ -45,14 +45,10 @@ logger = logging.getLogger('log')
def fenye(req):
if req.GET.get('page', None) and req.GET.get('rows', None):
page = int(req.GET.get('page'))
rows = int(req.GET.get('rows'))
endnum = page*rows
startnum = endnum-rows
else:
startnum = 0
endnum = 10
page = int(req.GET.get('page', 1))
rows = int(req.GET.get('rows',10))
endnum = page*rows
startnum = endnum-rows
return startnum, endnum
# 特殊字符转json

BIN
需求/惠东需求.xlsx Normal file

Binary file not shown.

Binary file not shown.