Explorar o código

修复站点获取vip用户的问题

chenlei1231 hai 7 horas
pai
achega
f706ea86a2

+ 0 - 7
src/views/adweb/theme/AdwebThemeList.vue

@@ -80,13 +80,6 @@
 
   const url = reactive({
     list: '/adweb/adwebTheme/list',
-    delete: '/adweb/adwebThemeC/delete',
-    deleteBatch: '/adweb/adwebThemeC/deleteBatch',
-    createSiteUrl: 'siteManage/createSite',
-    addSiteLanguageUrl: 'siteManage/addSiteLanguage',
-    getTemplateTagsUrl: '/adweb/adwebThemeC/getTemplateTags',
-    wpSiteCreateUrl: 'wpWebSite/addWebsite',
-    getAdwebVipUrl: 'adweb/adwebSiteManage/getAdwebVip',
   });
 
   const domainUrl = ref(globSetting.apiUrl);

+ 4 - 4
src/views/adweb/theme/components/AdwebCreateSite.vue

@@ -108,11 +108,11 @@
   const isWpSiteCreate = ref(false);
 
   const url = reactive({
-    createSiteUrl: 'siteManage/createSite',
-    addSiteLanguageUrl: 'siteManage/addSiteLanguage',
+    createSiteUrl: '/siteManage/createSite',
+    addSiteLanguageUrl: '/siteManage/addSiteLanguage',
     getTemplateTagsUrl: '/adweb/adwebThemeC/getTemplateTags',
-    wpSiteCreateUrl: 'wpWebSite/addWebsite',
-    getAdwebVipUrl: 'adweb/adwebSiteManage/getAdwebVip',
+    wpSiteCreateUrl: '/wpWebSite/addWebsite',
+    getAdwebVipUrl: '/adweb/adwebSiteManage/getAdwebVip',
   });
   const newCreateSiteInfo = ref('');
   let userList = reactive([{ id: '', realname: '' }]);