| 
					
				 | 
			
			
				@@ -339,7 +339,7 @@ def create_cloud_file(): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 @logger.catch() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 @app.route('/get_folder_tree', methods=['POST']) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-def get_base_path(): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+def get_folder_tree(): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     res = app.config['serve_client'].get_folder_tree() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return jsonify(res) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -364,6 +364,32 @@ def get_yozo_path(): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return jsonify({'code': 1000, 'msg': '操作成功', 'data': yozo_path}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+@logger.catch() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+@app.route('/get_yozo_plugin_status', methods=['GET']) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+def get_yozo_plugle_status(): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    yozo_path = os.path.dirname(os.path.dirname(config.yozoc)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    plugin_path = os.path.join(yozo_path, 'Plugins','yozooffice-jar-with-dependencies.jar') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    flag = os.path.exists(plugin_path) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    return jsonify({'code': 1000, 'msg': 'plugin_status', 'data': flag}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+@logger.catch() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+@app.route('/get_base_path', methods=['GET']) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+def get_base_path(): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    return jsonify({'code': 1000, 'msg': 'plugin_status', 'data': config.base_path}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+@logger.catch() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+@app.route('/yozo_plugin_monitor', methods=['post']) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+def yozo_plugin_monitor(): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    option = request.get_json()['option'] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    yozo_path = os.path.dirname(os.path.dirname(config.yozoc)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    plugin_path = os.path.join(yozo_path, 'Plugins','yozooffice-jar-with-dependencies.jar') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    flag = os.path.exists(plugin_path) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    return jsonify({'code': 1000, 'msg': 'plugin_status', 'data': flag}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 @logger.catch() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 @app.route('/download_cloud_file', methods=['POST']) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 def download_cloud_file(): 
			 |