Ejemplo n.º 1
0
Archivo: myweb.py Proyecto: 2kks/myweb
def signin():
	lists=[ request.form['city'] , request.form['positionName' ]  ,  request.form['education']  ] 
	thedatas=GetJson.GetDataClass()
	datas=thedatas.get_keys_function( lists[0]  , lists[1] , lists[2] )
	if  lists and datas :
		return  render_template( "show_datas.html"  ,  get_dict=datas ,  lists=lists )
	else :
		return "<h1>无效</h1>"
Ejemplo n.º 2
0
Archivo: myweb.py Proyecto: 2kks/myweb
def show_func(tag=None):
	#tag=="city=北京&num=1"
	keys=[ "city",   "education" ,  "positionName" ,  ]
	theclass=GetJson.GetDataClass()
	datalist_01 , datalist_02 , datalist_3=GetJson.getlist()

	
	lens , datas , nums , key , theurl =theclass.getdatas( tag )

	return render_template( "mywork.html"  , get_dict=datas[nums:nums+50]  , lens=lens  , key=key , theurl=theurl , datalist_01=datalist_01 ,datalist_02=datalist_02 , datalist_3=datalist_3 )