|
|
@@ -978,13 +978,18 @@ app.route('/manager', methods = ['POST', 'GET'])(main_tool_admin)
|
|
|
app.route('/manager/<int:num>', methods = ['POST', 'GET'])(main_tool_redirect)
|
|
|
app.route('/manager/<int:num>/<everything:add_2>', methods = ['POST', 'GET'])(main_tool_redirect)
|
|
|
|
|
|
-app.route('/search', methods=['POST'])(main_search)
|
|
|
-app.route('/search/<everything:name>', methods = ['POST', 'GET'])(main_search_deep)
|
|
|
-app.route('/search_page/<int:num>/<everything:name>', methods = ['POST', 'GET'])(main_search_deep)
|
|
|
-app.route('/search_data/<everything:name>', defaults = { 'search_type' : 'data' }, methods = ['POST', 'GET'])(main_search_deep)
|
|
|
-app.route('/search_data_page/<int:num>/<everything:name>', defaults = { 'search_type' : 'data' }, methods = ['POST', 'GET'])(main_search_deep)
|
|
|
-app.route('/goto', methods=['POST'])(main_search_goto)
|
|
|
-app.route('/goto/<everything:name>', methods=['GET', 'POST'])(main_search_goto)
|
|
|
+app.route('/goto', methods = ['POST'])(golang_view())
|
|
|
+app.route('/goto/<everything:name>', methods = ['GET', 'POST'])(golang_view())
|
|
|
+app.route('/search', methods = ['POST'])(golang_view())
|
|
|
+app.route('/search/<everything:name>', methods = ['POST'])(golang_view())
|
|
|
+app.route('/search_page/<int:num>/<everything:name>', methods = ['POST'])(golang_view())
|
|
|
+app.route('/search_data/<everything:name>', methods = ['POST'])(golang_view())
|
|
|
+app.route('/search_data_page/<int:num>/<everything:name>', methods = ['POST'])(golang_view())
|
|
|
+
|
|
|
+app.route('/search/<everything:name>', methods = ['GET'])(golang_view())
|
|
|
+app.route('/search_page/<int:num>/<everything:name>', methods = ['GET'])(golang_view())
|
|
|
+app.route('/search_data/<everything:name>', methods = ['GET'])(golang_view())
|
|
|
+app.route('/search_data_page/<int:num>/<everything:name>', methods = ['GET'])(golang_view())
|
|
|
|
|
|
app.route('/setting')(main_setting)
|
|
|
app.route('/setting/main', methods = ['POST', 'GET'])(main_setting_main)
|