This commit is contained in:
midoks 2020-09-19 16:03:09 +08:00
parent 7a815a20ab
commit f2a39fdc04
2 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class crontab_api:
##### ----- start ----- ###
def listApi(self):
p = request.args.get('p', 1)
psize = 3
psize = 10
startPage = (int(p) - 1) * psize
pageInfo = str(startPage) + ',' + str(psize)

View File

@ -43,7 +43,6 @@ function getLogs(id){
function getCronData(page){
var load = layer.msg(lan.public.the,{icon:16,time:0,shade: [0.3, '#000']});
$.post("/crontab/list?p="+page,'', function(rdata){
console.log(rdata);
layer.close(load);
var cbody = "";
if(rdata == ""){