def GET(self, categoryid = '0'): if len(categoryid) == 0 : categoryid = '0' categorys = json.loads(appphoto.category().GET()) return render.photoview( config=config, menuname='/photo', login=islogin(), mgrprivilege=mgrprivilege(), categoryid=categoryid, categorys=categorys, photocount=40)
def GET(self): return render.photoview(login=islogin(), mgrprivilege=mgrprivilege(), photocount=40)