Browse Source

update src/http/api/site.js

wudebin 5 months ago
parent
commit
3c4092028f
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Strides-Admin/src/http/api/site.js

+ 6 - 0
Strides-Admin/src/http/api/site.js

@@ -66,9 +66,15 @@ const site = {
   getHistoryRates(params) {
   getHistoryRates(params) {
     return get(MODULE_NAME + '/site-rates', params)
     return get(MODULE_NAME + '/site-rates', params)
   },
   },
+  /**
+   * 站点标签部分
+   */
   getLabelPages(params) {
   getLabelPages(params) {
     return post("label/label-pages", params)
     return post("label/label-pages", params)
   },
   },
+  getLabelTypeOption() {
+    return get("label/label-type-select")
+  },
   addSiteLabel(params) {
   addSiteLabel(params) {
     return post("label/labels", params)
     return post("label/labels", params)
   },
   },