瀏覽代碼

add api/apiUser.js

vbea 1 年之前
父節點
當前提交
220e5ad033
共有 1 個文件被更改,包括 15 次插入0 次删除
  1. 15 0
      WebApp-Lite/api/apiUser.js

+ 15 - 0
WebApp-Lite/api/apiUser.js

@@ -0,0 +1,15 @@
+import {base_api, get, post} from './http.js'
+
+export default {
+  /**
+   * 提交用户反馈
+   * @param {Object} data {feedback,typeOfFeedback}
+   * @return Promise
+   */
+  submitFeedback(data) {
+    return post({
+      url: base_api + "user/feedbacks",
+      data: data
+    })
+  },
+}