|  | @@ -8,7 +8,9 @@ from flask_apscheduler import APScheduler
 | 
												
													
														
															|  |  from email_util import EmailUtil
 |  |  from email_util import EmailUtil
 | 
												
													
														
															|  |  import decimal
 |  |  import decimal
 | 
												
													
														
															|  |  from report_push import ReportPush
 |  |  from report_push import ReportPush
 | 
												
													
														
															|  | 
 |  | +from flask_mail import Mail, Message
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  | 
 |  | +mail = Mail()
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |  app = Flask(__name__)
 |  |  app = Flask(__name__)
 | 
												
													
														
															|  |  # app.config.from_object(Config())
 |  |  # app.config.from_object(Config())
 | 
												
											
												
													
														
															|  | @@ -203,7 +205,7 @@ def tongce_update_rule():
 | 
												
													
														
															|  |  def send_mail():
 |  |  def send_mail():
 | 
												
													
														
															|  |      mail = EmailUtil()
 |  |      mail = EmailUtil()
 | 
												
													
														
															|  |      mail.send_test()
 |  |      mail.send_test()
 | 
												
													
														
															|  | -    return 'success'
 |  | 
 | 
												
													
														
															|  | 
 |  | +    return '<h1>邮件发送成功</h1>'
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |  @app.route('/update_other_city', methods=['GET', 'POST'])
 |  |  @app.route('/update_other_city', methods=['GET', 'POST'])
 |