|
@@ -1,25 +1,65 @@
|
|
|
|
|
|
* 蜡笔森林接口文档
|
|
|
*/
|
|
|
-import httputils from '@/api/httputils'
|
|
|
-const baseApi = '/labsl';
|
|
|
+import httputils from "@/api/httputils";
|
|
|
+const baseApi = "/labsl";
|
|
|
|
|
|
|
|
|
export function folderCreate(postParams: any): any {
|
|
|
- return httputils.postJson(`${baseApi}/planar/folder/create`, postParams)
|
|
|
+ return httputils.postJson(`${baseApi}/planar/folder/create`, postParams);
|
|
|
}
|
|
|
|
|
|
|
|
|
export function folderDelete(postParams: any): any {
|
|
|
- return httputils.postJson(`${baseApi}/planar/folder/delete`, postParams)
|
|
|
+ return httputils.postJson(`${baseApi}/planar/folder/delete`, postParams);
|
|
|
}
|
|
|
|
|
|
|
|
|
export function folderUpdate(postParams: any): any {
|
|
|
- return httputils.postJson(`${baseApi}/planar/folder/update`, postParams)
|
|
|
+ return httputils.postJson(`${baseApi}/planar/folder/update`, postParams);
|
|
|
}
|
|
|
|
|
|
|
|
|
export function folderQuery(postParams: any): any {
|
|
|
- return httputils.postJson(`${baseApi}/planar/folder/query`, postParams)
|
|
|
-}
|
|
|
+ return httputils.postJson(`${baseApi}/planar/folder/query`, postParams);
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+ * 未发布的平面图接口
|
|
|
+ */
|
|
|
+
|
|
|
+export function planarCreate(postParams: any): any {
|
|
|
+ return httputils.postJson(`${baseApi}/planar/graph/drafts/create`, postParams);
|
|
|
+}
|
|
|
+
|
|
|
+export function planerPublish(postParams: any): any {
|
|
|
+ return httputils.postJson(`${baseApi}/planar/graph/drafts/publish`, postParams);
|
|
|
+}
|
|
|
+
|
|
|
+export function planerQuery(postParams: any): any {
|
|
|
+ return httputils.postJson(`${baseApi}/planar/graph/drafts/query`, postParams);
|
|
|
+}
|
|
|
+
|
|
|
+export function planerRecycle(postParams: any): any {
|
|
|
+ return httputils.postJson(`${baseApi}/planar/graph/drafts/recycle`, postParams);
|
|
|
+}
|
|
|
+
|
|
|
+export function planerUpdate(postParams: any): any {
|
|
|
+ return httputils.postJson(`${baseApi}/planar/graph/drafts/update`, postParams);
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+ * 已发布的平面图接口
|
|
|
+ */
|
|
|
+
|
|
|
+export function pubPlanerQuery(postParams: any): any {
|
|
|
+ return httputils.postJson(`${baseApi}/planar/graph/pub/query`, postParams);
|
|
|
+}
|
|
|
+
|
|
|
+export function pubPlanerRecycle(postParams: any): any {
|
|
|
+ return httputils.postJson(`${baseApi}/planar/graph/pub/recycle`, postParams);
|
|
|
+}
|
|
|
+
|
|
|
+export function pubPlanerUpdate(postParams: any): any {
|
|
|
+ return httputils.postJson(`${baseApi}/planar/graph/pub/update`, postParams);
|
|
|
+}
|