Example #1
0
 def getJobXqInfo(self):
     return JobDAO().getJobXq()
Example #2
0
from flask import Flask, render_template, request, redirect, jsonify
from controller.userctrl import usercontroller
from controller.jobctrl import jobcontroller
from controller.usermgctrl import usermgcontroller
from dao.jobdao import JobDAO

app = Flask(__name__)
app.register_blueprint(usercontroller)
app.register_blueprint(jobcontroller)
app.register_blueprint(usermgcontroller)
jobDAO = JobDAO()


@app.route('/')
def index():
    return render_template('index.html')


@app.route('/video')
def video():
    return render_template('video.html')


if __name__ == '__main__':
    app.run(host='10.0.11.65', port="5000", debug=True)
    # app.run()

# --host=10.0.11.99 --port=8080
Example #3
0
 def getJobWebInfo(self):
     return JobDAO().getJobWeb()  # Web
Example #4
0
 def getCountInfo(self):
     return JobDAO().getJobCount()  # 五种语言的职位数
Example #5
0
 def getJobAIInfo(self):
     return JobDAO().getJobAI()  # AI
Example #6
0
 def getJobPyInfo(self):
     return JobDAO().getJobPy()  # Python
Example #7
0
 def getJobCInfo(self):
     return JobDAO().getJobC()  # C语言
Example #8
0
 def getJobJavaInfo(self):
     return JobDAO().getJobJava()  # Java
Example #9
0
 def getJobNumInfo(self):
     return JobDAO().getJobAllNum()
Example #10
0
 def getJobYwInfo(self):
     return JobDAO().getJobYw()
Example #11
0
 def getJobCsInfo(self):
     return JobDAO().getJobCs()
Example #12
0
 def getJobKfInfo(self):
     return JobDAO().getJobKf()
Example #13
0
 def getJobCpInfo(self):
     return JobDAO().getJobCp()