refactor(api):前后端半分离

This commit is contained in:
zhengxinonly
2021-07-21 02:19:52 +08:00
parent c26f15ae69
commit 5470837707
26 changed files with 338 additions and 364 deletions
+1 -1
View File
@@ -61,7 +61,7 @@
btn.stop(function () {
if (result.success) {
popup.success(result.msg, function () {
location.href = "{{ url_for('admin.index') }}"
location.href = "{{ url_for('index.admin_index') }}"
})
} else {
popup.failure(result.msg, function () {