tianyunperfect 1 년 전
부모
커밋
6df5328c5c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      simple-demo/excalidraw-versions.html

+ 2 - 2
simple-demo/excalidraw-versions.html

@@ -12,7 +12,7 @@
 
             // 异步请求数据
             $.ajax({
-                url: `https://api.tianyunperfect.cn/excalidraw/get_by_id?id=${a}`,
+                url: `https://php.tianyunperfect.cn/controller/excalidraw.php?action=get_by_id&id=${a}`,
                 method: 'GET',
                 success: function (response) {
                     if (response.code === 1) {
@@ -46,7 +46,7 @@
 
         function deleteData(a, title, version) {
             $.ajax({
-                url: `https://api.tianyunperfect.cn/excalidraw/delete_by_id?id=${a}&version=${version}`,
+                url: `https://php.tianyunperfect.cn/controller/excalidraw.php?action=delete&id=${a}&version=${version}`,
                 method: 'DELETE',
                 success: function (response) {
                     if (response.code === 1) {