Browse Source

remove proxy

master
zkthink 5 years ago
parent
commit
8e8033b0ac
  1. 4
      src/api/AfterSale.js
  2. 8
      src/api/Applet.js
  3. 14
      src/api/Application.js
  4. 8
      src/api/Apply.js
  5. 14
      src/api/Area.js
  6. 12
      src/api/Attachment.js
  7. 5
      src/api/AxiosApi.js
  8. 12
      src/api/Classification.js
  9. 24
      src/api/Comment.js
  10. 4
      src/api/Common.js
  11. 6
      src/api/Custom.js
  12. 2
      src/api/Dashboard.js
  13. 8
      src/api/Dictionary.js
  14. 16
      src/api/DictionaryItem.js
  15. 14
      src/api/Finance.js
  16. 16
      src/api/GlobalUser.js
  17. 18
      src/api/Goods.js
  18. 14
      src/api/Label.js
  19. 6
      src/api/Login.js
  20. 10
      src/api/LoginLog.js
  21. 6
      src/api/Management.js
  22. 26
      src/api/Marketing.js
  23. 16
      src/api/Member.js
  24. 8
      src/api/Menu.js
  25. 16
      src/api/Msgs.js
  26. 12
      src/api/OptLog.js
  27. 14
      src/api/Org.js
  28. 14
      src/api/Parameter.js
  29. 8
      src/api/Resource.js
  30. 28
      src/api/Role.js
  31. 2
      src/api/SmsSendStatus.js
  32. 16
      src/api/SmsTask.js
  33. 16
      src/api/SmsTemplate.js
  34. 14
      src/api/Station.js
  35. 14
      src/api/SystemApi.js
  36. 10
      src/api/Tenant copy.js
  37. 20
      src/api/Tenant.js
  38. 26
      src/api/User.js
  39. 7
      src/components/ImageUpload/index.vue
  40. 2
      src/components/ceres/fileUpload.vue
  41. 2
      src/components/ceres/imgUpload.vue
  42. 2
      src/views/ceres/auth/role/Index.vue
  43. 2
      src/views/ceres/base/dict/DictionaryItem.vue
  44. 2
      src/views/ceres/base/parameter/Index.vue
  45. 2
      src/views/ceres/sms/manage/Index.vue
  46. 2
      src/views/ceres/sms/template/Index.vue
  47. 2
      src/views/ceres/user/org/Index.vue
  48. 2
      src/views/ceres/user/station/Index.vue
  49. 4
      src/views/ceres/user/user/Index.vue
  50. 3
      src/views/classification/Edit.vue
  51. 3
      src/views/marketing/add/index.vue
  52. 44
      vue.config.js

4
src/api/AfterSale.js

@ -1,8 +1,8 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
getList: `/authority//order/findReturnInterventionList`, getList: `/order/findReturnInterventionList`,
getInfo: `/authority/order/getReturnInterventionDetail` getInfo: `/order/getReturnInterventionDetail`
} }
export default { export default {
// 售后平台介入列表 // 售后平台介入列表

8
src/api/Applet.js

@ -1,10 +1,10 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
getPlatformTemplate: `/authority/cmsTemplate/getPlatformTemplate`, getPlatformTemplate: `/cmsTemplate/getPlatformTemplate`,
updateTemplate: '/authority/cmsTemplate/updateTemplate', updateTemplate: '/cmsTemplate/updateTemplate',
getCmsTemplate: '/authority/cmsTemplate/', getCmsTemplate: '/cmsTemplate/',
getStorePage: '/authority/store/findStoreListForPlatform' getStorePage: '/store/findStoreListForPlatform'
} }
export default { export default {
getStorePage(data) { getStorePage(data) {

14
src/api/Application.js

@ -3,31 +3,31 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
method: 'POST', method: 'POST',
url: `/authority/application/page` url: `/application/page`
}, },
update: { update: {
method: 'PUT', method: 'PUT',
url: `/authority/application` url: `/application`
}, },
save: { save: {
method: 'POST', method: 'POST',
url: `/authority/application` url: `/application`
}, },
delete: { delete: {
method: 'DELETE', method: 'DELETE',
url: `/authority/application` url: `/application`
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/authority/application/preview` url: `/application/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/authority/application/export` url: `/application/export`
}, },
import: { import: {
method: 'POST', method: 'POST',
url: `/authority/application/import` url: `/application/import`
} }
} }

8
src/api/Apply.js

@ -1,10 +1,10 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
getList: `/authority/tenantApply/page`, getList: `/tenantApply/page`,
auditApply: `/authority/tenantApply/audit`, auditApply: `/tenantApply/audit`,
deleteApply: `/authority/tenantApply/remove`, deleteApply: `/tenantApply/remove`,
applyInfo: `/authority/tenantApply` applyInfo: `/tenantApply`
} }
export default { export default {
getList(data) { getList(data) {

14
src/api/Area.js

@ -3,27 +3,27 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
method: 'POST', method: 'POST',
url: `/authority/area/page` url: `/area/page`
}, },
update: { update: {
method: 'PUT', method: 'PUT',
url: `/authority/area` url: `/area`
}, },
save: { save: {
method: 'POST', method: 'POST',
url: `/authority/area` url: `/area`
}, },
delete: { delete: {
method: 'DELETE', method: 'DELETE',
url: `/authority/area` url: `/area`
}, },
query: { query: {
method: 'POST', method: 'POST',
url: `/authority/area/query` url: `/area/query`
}, },
tree: { tree: {
method: 'GET', method: 'GET',
url: `/authority/area/tree` url: `/area/tree`
} }
} }
@ -67,7 +67,7 @@ export default {
check(code, id) { check(code, id) {
return axiosApi({ return axiosApi({
method: 'GET', method: 'GET',
url: `/authority/area/check/` + code, url: `/area/check/` + code,
data: { id: id } data: { id: id }
}) })
} }

12
src/api/Attachment.js

@ -3,27 +3,27 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
method: 'POST', method: 'POST',
url: `/file/attachment/page` url: `/attachment/page`
}, },
upload: { upload: {
method: 'POST', method: 'POST',
url: `/file/attachment/upload` url: `/attachment/upload`
}, },
download: { download: {
method: 'GET', method: 'GET',
url: `/file/attachment/download` url: `/attachment/download`
}, },
downloadBiz: { downloadBiz: {
method: 'GET', method: 'GET',
url: `/file/attachment/download/biz` url: `/attachment/download/biz`
}, },
downloadUrl: { downloadUrl: {
method: 'GET', method: 'GET',
url: `/file/attachment/download/url` url: `/attachment/download/url`
}, },
delete: { delete: {
method: 'DELETE', method: 'DELETE',
url: `/file/attachment` url: `/attachment`
} }
} }

5
src/api/AxiosApi.js

@ -92,10 +92,7 @@ const httpServer = opts => {
// 生产环境: http://IP:PORT/api // 生产环境中 代理失效, 故需要配置绝对路径 // 生产环境: http://IP:PORT/api // 生产环境中 代理失效, 故需要配置绝对路径
const httpDefaultOpts = { const httpDefaultOpts = {
method, method,
baseURL: url: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}${opts.url}`,
process.env.VUE_APP_PROD_REQUEST_DOMAIN_PREFIX +
process.env.VUE_APP_BASE_API,
url: opts.url,
responseType: opts.responseType || '', responseType: opts.responseType || '',
timeout: 20000 timeout: 20000
} }

12
src/api/Classification.js

@ -1,12 +1,12 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
productCategory: `/authority/productCategory/findPageCategory`, productCategory: `/productCategory/findPageCategory`,
addCategory: `/authority/productCategory/addCategory`, addCategory: `/productCategory/addCategory`,
uploadCategory: `/authority/productCategory/updateCategory`, uploadCategory: `/productCategory/updateCategory`,
deletCategory: '/authority/productCategory/delCategory', deletCategory: '/productCategory/delCategory',
queryOneCategory: `/authority/productCategory/queryOneCategory`, queryOneCategory: `/productCategory/queryOneCategory`,
queryChildCategory: '/authority/productCategory/queryChildCategory' queryChildCategory: '/productCategory/queryChildCategory'
} }
export default { export default {
deletCategory(data) { deletCategory(data) {

24
src/api/Comment.js

@ -1,18 +1,18 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
getList: `/authority/comment/findCommentList`, getList: `/comment/findCommentList`,
handleComment: `/authority/comment/handleComment`, handleComment: `/comment/handleComment`,
getSensitiveKeywordList: `/authority/comment/findSensitiveKeywordList`, getSensitiveKeywordList: `/comment/findSensitiveKeywordList`,
setSensitiveKeyword: `/authority/comment/updateSensitiveKeywordSetting`, setSensitiveKeyword: `/comment/updateSensitiveKeywordSetting`,
addSensitiveKeyword: `/authority/comment/addSensitiveKeyword`, addSensitiveKeyword: `/comment/addSensitiveKeyword`,
editSensitiveKeyword: `/authority/comment/updateSensitiveKeyword`, editSensitiveKeyword: `/comment/updateSensitiveKeyword`,
deleteSensitiveKeyword: `/authority/comment/deleteSensitiveKeyword`, deleteSensitiveKeyword: `/comment/deleteSensitiveKeyword`,
getCommentKeywordList: `/authority/comment/findCommentKeywordList`, getCommentKeywordList: `/comment/findCommentKeywordList`,
setCommentKeywordList: `/authority/comment/updateCommentKeywordSetting`, setCommentKeywordList: `/comment/updateCommentKeywordSetting`,
addCommentKeyword: `/authority/comment/addCommentKeyword`, addCommentKeyword: `/comment/addCommentKeyword`,
editCommentKeyword: `/authority/comment/updateCommentKeyword`, editCommentKeyword: `/comment/updateCommentKeyword`,
deleteCommentKeyword: `/authority/comment/deleteCommentKeyword` deleteCommentKeyword: `/comment/deleteCommentKeyword`
} }
export default { export default {
// 敏感词列表 // 敏感词列表

4
src/api/Common.js

@ -4,12 +4,12 @@ const apiList = {
// 获取当前系统的所有枚举 // 获取当前系统的所有枚举
enums: { enums: {
method: 'GET', method: 'GET',
url: `/oauth/enums` url: `/enums`
} }
} }
export default { export default {
uploadFile: `${process.env.VUE_APP_PROD_REQUEST_DOMAIN_PREFIX}${process.env.VUE_APP_BASE_API}/file/attachment/upload`, uploadFile: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/attachment/upload`,
enums (data) { enums (data) {
return axiosApi({ return axiosApi({
...apiList.enums, ...apiList.enums,

6
src/api/Custom.js

@ -1,9 +1,9 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
cmsTemplatePage: `/authority/cmsTemplate/page`, cmsTemplatePage: `/cmsTemplate/page`,
addTemplate: '/authority/cmsTemplate', addTemplate: '/cmsTemplate',
deleteTemplate: '/authority/cmsTemplate' deleteTemplate: '/cmsTemplate'
} }
export default { export default {
cmsTemplatePage(data) { cmsTemplatePage(data) {

2
src/api/Dashboard.js

@ -1,7 +1,7 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
getVisitList: `/authority/dashboard/visit` getVisitList: `/dashboard/visit`
} }
export default { export default {

8
src/api/Dictionary.js

@ -3,19 +3,19 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
method: 'POST', method: 'POST',
url: `/authority/dictionary/page` url: `/dictionary/page`
}, },
update: { update: {
method: 'PUT', method: 'PUT',
url: `/authority/dictionary` url: `/dictionary`
}, },
save: { save: {
method: 'POST', method: 'POST',
url: `/authority/dictionary` url: `/dictionary`
}, },
delete: { delete: {
method: 'DELETE', method: 'DELETE',
url: `/authority/dictionary` url: `/dictionary`
} }
} }

16
src/api/DictionaryItem.js

@ -3,35 +3,35 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
method: 'POST', method: 'POST',
url: `/authority/dictionaryItem/page` url: `/dictionaryItem/page`
}, },
update: { update: {
method: 'PUT', method: 'PUT',
url: `/authority/dictionaryItem` url: `/dictionaryItem`
}, },
save: { save: {
method: 'POST', method: 'POST',
url: `/authority/dictionaryItem` url: `/dictionaryItem`
}, },
delete: { delete: {
method: 'DELETE', method: 'DELETE',
url: `/authority/dictionaryItem` url: `/dictionaryItem`
}, },
list: { list: {
method: 'GET', method: 'GET',
url: `/oauth/dictionaryItem/codes` url: `/dictionaryItem/codes`
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/authority/dictionaryItem/preview` url: `/dictionaryItem/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/authority/dictionaryItem/export` url: `/dictionaryItem/export`
}, },
import: { import: {
method: 'POST', method: 'POST',
url: `/authority/dictionaryItem/import` url: `/dictionaryItem/import`
} }
} }

14
src/api/Finance.js

@ -1,13 +1,13 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
getCashList: `/authority/cashOutDetail/page/audit`, getCashList: `/cashOutDetail/page/audit`,
getDetail: '/authority/cashOutDetail/audit/', getDetail: '/cashOutDetail/audit/',
audiCash: '/authority/cashOutDetail/audit', audiCash: '/cashOutDetail/audit',
getDepositList: `/authority/depositJournal/page`, // 保证金列表 getDepositList: `/depositJournal/page`, // 保证金列表
getDepositSum: `/authority/depositJournal/summary`, // 保证金总金额 getDepositSum: `/depositJournal/summary`, // 保证金总金额
getDayList: `/authority/journalDetail/platform-finance-page`, getDayList: `/journalDetail/platform-finance-page`,
getSummary: `/authority/journalDetail/platform-finance-summary` getSummary: `/journalDetail/platform-finance-summary`
} }
export default { export default {
// 提现审核列表 // 提现审核列表

16
src/api/GlobalUser.js

@ -2,36 +2,36 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
url: `/authority/globalUser/page`, url: `/globalUser/page`,
method: 'POST' method: 'POST'
}, },
save: { save: {
method: 'POST', method: 'POST',
url: `/authority/globalUser` url: `/globalUser`
}, },
update: { update: {
method: 'PUT', method: 'PUT',
url: `/authority/globalUser` url: `/globalUser`
}, },
remove: { remove: {
method: 'DELETE', method: 'DELETE',
url: `/authority/globalUser/delete` url: `/globalUser/delete`
}, },
check: { check: {
method: 'GET', method: 'GET',
url: `/authority/globalUser/check` url: `/globalUser/check`
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/authority/globalUser/preview` url: `/globalUser/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/authority/globalUser/export` url: `/globalUser/export`
}, },
import: { import: {
method: 'POST', method: 'POST',
url: `/authority/globalUser/import` url: `/globalUser/import`
} }
} }

18
src/api/Goods.js

@ -1,15 +1,15 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
getGroupList: `/authority/productGroup/page`, getGroupList: `/productGroup/page`,
productGroup: `/authority/productGroup`, productGroup: `/productGroup`,
deleteGroup: `/authority/productGroup/delProductCategory`, deleteGroup: `/productGroup/delProductCategory`,
getProductList: `/authority/product/findAdminProductList`, getProductList: `/product/findAdminProductList`,
findCategoryList: '/authority/productCategory/findCategoryListByDepth/', findCategoryList: '/productCategory/findCategoryListByDepth/',
saveProduct: '/authority/product/save', saveProduct: '/product/save',
findAdminProductList: '/authority/platformProduct/findAdminProductList', findAdminProductList: '/platformProduct/findAdminProductList',
findGoods: '/authority/platformProduct/findProductListByCategoryOrProductIdList', findGoods: '/platformProduct/findProductListByCategoryOrProductIdList',
queryAllCategory: '/authority/productCategory/queryAllCategory' queryAllCategory: '/productCategory/queryAllCategory'
} }
export default { export default {

14
src/api/Label.js

@ -1,13 +1,13 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
getLabelList: `/authority/memberTag/page`, getLabelList: `/memberTag/page`,
addLabel: `/authority/memberTag`, addLabel: `/memberTag`,
queryTag: `/authority/memberTag/queryTag/`, queryTag: `/memberTag/queryTag/`,
deleteTag: `/authority/memberTag`, deleteTag: `/memberTag`,
editTag: `/authority/memberTag`, editTag: `/memberTag`,
exportTag: `/authority/memberTag/export`, exportTag: `/memberTag/export`,
getTagInfo: `/authority/memberTag/` getTagInfo: `/memberTag/`
} }
export default { export default {
// 标签列表 // 标签列表

6
src/api/Login.js

@ -1,9 +1,9 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
captcha: `/oauth/anno/captcha`, captcha: `/anno/captcha`,
login: `/oauth/anno/admin/login`, login: `/anno/admin/login`,
router: `/oauth/menu/admin/router` router: `/menu/admin/router`
} }
export default { export default {

10
src/api/LoginLog.js

@ -3,23 +3,23 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
method: 'POST', method: 'POST',
url: `/authority/loginLog/page` url: `/loginLog/page`
}, },
delete: { delete: {
method: 'DELETE', method: 'DELETE',
url: `/authority/loginLog` url: `/loginLog`
}, },
clear: { clear: {
method: 'DELETE', method: 'DELETE',
url: `/authority/loginLog/clear` url: `/loginLog/clear`
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/authority/loginLog/preview` url: `/loginLog/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/authority/loginLog/export` url: `/loginLog/export`
} }
} }

6
src/api/Management.js

@ -1,9 +1,9 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
getTenants: `/authority/tenant/page`, getTenants: `/tenant/page`,
addTenant: `/authority/tenant`, addTenant: `/tenant`,
editTenant: `/authority/tenant` editTenant: `/tenant`
} }
export default { export default {
getAllTenant(data) { getAllTenant(data) {

26
src/api/Marketing.js

@ -1,19 +1,19 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
addPromotion: `/authority/promotion/addPromotion`, addPromotion: `/promotion/addPromotion`,
getList: `/authority/promotion/findAdminPromotionList`, getList: `/promotion/findAdminPromotionList`,
getDetails: `/authority/promotion/query`, getDetails: `/promotion/query`,
delPromotion: `/authority/promotion/delete`, delPromotion: `/promotion/delete`,
updatePromotion: `/authority/promotion/updatePromotion`, updatePromotion: `/promotion/updatePromotion`,
finishPromotion: `/authority/promotion/end`, finishPromotion: `/promotion/end`,
applyShop: `/authority/promotionApplyInfo/page`, // 参入店铺 applyShop: `/promotionApplyInfo/page`, // 参入店铺
auditLog: `/authority/promotionAuditLog/query`, auditLog: `/promotionAuditLog/query`,
getGoodList: `/authority/product/findAdminProductListByIds`, getGoodList: `/product/findAdminProductListByIds`,
auditPromotion: `/authority/promotionApplyInfo/auditPromotion`, auditPromotion: `/promotionApplyInfo/auditPromotion`,
closeApplyInfo: `/authority/promotionApplyInfo/closeApplyInfo`, closeApplyInfo: `/promotionApplyInfo/closeApplyInfo`,
getDetail: `/authority/promotionStat/detail`, getDetail: `/promotionStat/detail`,
findTenantStatDetail: `/authority/promotionStat/findTenantStatDetail` findTenantStatDetail: `/promotionStat/findTenantStatDetail`
} }
export default { export default {
addPromotion(data) { addPromotion(data) {

16
src/api/Member.js

@ -1,14 +1,14 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
getMemberList: `/authority/member/page`, getMemberList: `/member/page`,
addTag: `/authority/member/addTag`, addTag: `/member/addTag`,
forbiddenMember: `/authority/member/forbidden`, forbiddenMember: `/member/forbidden`,
getMemberInfo: `/authority/member/query/`, getMemberInfo: `/member/query/`,
getMemberAddress: `/authority/memberAddress/page`, getMemberAddress: `/memberAddress/page`,
getOrderList: `/authority/order/findAdminOrderList`, getOrderList: `/order/findAdminOrderList`,
getCustomData: `/authority/order/getOrderStatisticsByMid/`, getCustomData: `/order/getOrderStatisticsByMid/`,
getCommentList: `/authority/comment/findCommentList` getCommentList: `/comment/findCommentList`
} }
export default { export default {
// 客户管理列表 // 客户管理列表

8
src/api/Menu.js

@ -1,10 +1,10 @@
import axiosApi from './AxiosApi.js' import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
getPlatformMenu: `/authority/menu/tree`, getPlatformMenu: `/menu/tree`,
getAllMerchanMenu: `/authority/menu/getAllTenantMenu`, getAllMerchanMenu: `/menu/getAllTenantMenu`,
getSpecialMerchantMenu: `/authority/menu/getSpecifiedTenantMenu`, getSpecialMerchantMenu: `/menu/getSpecifiedTenantMenu`,
saveMenu: `/authority/menu/syncMenu` saveMenu: `/menu/syncMenu`
} }
export default { export default {
// 平台所有菜单 // 平台所有菜单

16
src/api/Msgs.js

@ -2,32 +2,32 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
url: `/msgs/msgsCenterInfo/page`, url: `/msgsCenterInfo/page`,
method: 'POST' method: 'POST'
}, },
mark: { mark: {
url: `/msgs/msgsCenterInfo/mark`, url: `/msgsCenterInfo/mark`,
method: 'GET' method: 'GET'
}, },
save: { save: {
url: `/msgs/msgsCenterInfo`, url: `/msgsCenterInfo`,
method: 'POST' method: 'POST'
}, },
delete: { delete: {
url: `/msgs/msgsCenterInfo`, url: `/msgsCenterInfo`,
method: 'DELETE' method: 'DELETE'
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/msgs/msgsCenterInfo/preview` url: `/msgsCenterInfo/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/msgs/msgsCenterInfo/export` url: `/msgsCenterInfo/export`
}, },
import: { import: {
method: 'POST', method: 'POST',
url: `/msgs/msgsCenterInfo/import` url: `/msgsCenterInfo/import`
} }
} }
@ -59,7 +59,7 @@ export default {
}, },
get (id) { get (id) {
return axiosApi({ return axiosApi({
url: `/msgs/msgsCenterInfo/${id}`, url: `/msgsCenterInfo/${id}`,
method: 'GET' method: 'GET'
}) })
}, },

12
src/api/OptLog.js

@ -3,27 +3,27 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
method: 'POST', method: 'POST',
url: `/authority/optLog/page` url: `/optLog/page`
}, },
delete: { delete: {
method: 'DELETE', method: 'DELETE',
url: `/authority/optLog` url: `/optLog`
}, },
clear: { clear: {
method: 'DELETE', method: 'DELETE',
url: `/authority/optLog/clear` url: `/optLog/clear`
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/authority/optLog/preview` url: `/optLog/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/authority/optLog/export` url: `/optLog/export`
}, },
import: { import: {
method: 'POST', method: 'POST',
url: `/authority/optLog/import` url: `/optLog/import`
} }
} }

14
src/api/Org.js

@ -3,31 +3,31 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
allTree: { allTree: {
method: 'GET', method: 'GET',
url: `/authority/org/tree` url: `/org/tree`
}, },
save: { save: {
method: 'POST', method: 'POST',
url: `/authority/org` url: `/org`
}, },
update: { update: {
method: 'PUT', method: 'PUT',
url: `/authority/org` url: `/org`
}, },
delete: { delete: {
method: 'DELETE', method: 'DELETE',
url: `/authority/org` url: `/org`
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/authority/org/preview` url: `/org/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/authority/org/export` url: `/org/export`
}, },
import: { import: {
method: 'POST', method: 'POST',
url: `/authority/org/import` url: `/org/import`
} }
} }

14
src/api/Parameter.js

@ -3,31 +3,31 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
method: 'POST', method: 'POST',
url: `/authority/parameter/page` url: `/parameter/page`
}, },
update: { update: {
method: 'PUT', method: 'PUT',
url: `/authority/parameter` url: `/parameter`
}, },
save: { save: {
method: 'POST', method: 'POST',
url: `/authority/parameter` url: `/parameter`
}, },
delete: { delete: {
method: 'DELETE', method: 'DELETE',
url: `/authority/parameter` url: `/parameter`
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/authority/parameter/preview` url: `/parameter/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/authority/parameter/export` url: `/parameter/export`
}, },
import: { import: {
method: 'POST', method: 'POST',
url: `/authority/parameter/import` url: `/parameter/import`
} }
} }

8
src/api/Resource.js

@ -3,19 +3,19 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
method: 'POST', method: 'POST',
url: `/authority/resource/page` url: `/resource/page`
}, },
save: { save: {
method: 'POST', method: 'POST',
url: `/authority/resource` url: `/resource`
}, },
update: { update: {
method: 'PUT', method: 'PUT',
url: `/authority/resource` url: `/resource`
}, },
delete: { delete: {
method: 'DELETE', method: 'DELETE',
url: `/authority/resource` url: `/resource`
} }
} }

28
src/api/Role.js

@ -2,40 +2,40 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
url: `/authority/role/page`, url: `/role/page`,
method: 'POST' method: 'POST'
}, },
save: { save: {
url: `/authority/role`, url: `/role`,
method: 'POST' method: 'POST'
}, },
update: { update: {
url: `/authority/role`, url: `/role`,
method: 'PUT' method: 'PUT'
}, },
delete: { delete: {
url: `/authority/role`, url: `/role`,
method: 'DELETE' method: 'DELETE'
}, },
saveUserRole: { saveUserRole: {
url: `/authority/role/user`, url: `/role/user`,
method: 'POST' method: 'POST'
}, },
saveRoleAuthority: { saveRoleAuthority: {
url: `/authority/role/authority`, url: `/role/authority`,
method: 'POST' method: 'POST'
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/authority/user/preview` url: `/user/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/authority/user/export` url: `/user/export`
}, },
import: { import: {
method: 'POST', method: 'POST',
url: `/authority/role/import` url: `/role/import`
} }
} }
@ -67,19 +67,19 @@ export default {
}, },
get (id) { get (id) {
return axiosApi({ return axiosApi({
url: `/authority/role/${id}`, url: `/role/${id}`,
method: 'GET' method: 'GET'
}) })
}, },
getDetails (id) { getDetails (id) {
return axiosApi({ return axiosApi({
url: `/authority/role/details/${id}`, url: `/role/details/${id}`,
method: 'GET' method: 'GET'
}) })
}, },
check (code) { check (code) {
return axiosApi({ return axiosApi({
url: `/authority/role/check/${code}`, url: `/role/check/${code}`,
method: 'GET' method: 'GET'
}) })
}, },
@ -91,13 +91,13 @@ export default {
}, },
findUserIdByRoleId (roleId) { findUserIdByRoleId (roleId) {
return axiosApi({ return axiosApi({
url: `/authority/role/user/${roleId}`, url: `/role/user/${roleId}`,
method: 'GET' method: 'GET'
}) })
}, },
findAuthorityIdByRoleId (roleId) { findAuthorityIdByRoleId (roleId) {
return axiosApi({ return axiosApi({
url: `/authority/role/authority/${roleId}`, url: `/role/authority/${roleId}`,
method: 'GET' method: 'GET'
}) })
}, },

2
src/api/SmsSendStatus.js

@ -2,7 +2,7 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
url: `/msgs/smsSendStatus/page`, url: `/smsSendStatus/page`,
method: 'POST' method: 'POST'
} }
} }

16
src/api/SmsTask.js

@ -2,32 +2,32 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
url: `/msgs/smsTask/page`, url: `/smsTask/page`,
method: 'POST' method: 'POST'
}, },
save: { save: {
url: `/msgs/smsTask`, url: `/smsTask`,
method: 'POST' method: 'POST'
}, },
update: { update: {
url: `/msgs/smsTask`, url: `/smsTask`,
method: 'PUT' method: 'PUT'
}, },
delete: { delete: {
url: `/msgs/smsTask`, url: `/smsTask`,
method: 'DELETE' method: 'DELETE'
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/msgs/smsTask/preview` url: `/smsTask/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/msgs/smsTask/export` url: `/smsTask/export`
}, },
import: { import: {
method: 'POST', method: 'POST',
url: `/msgs/smsTask/import` url: `/smsTask/import`
} }
} }
@ -58,7 +58,7 @@ export default {
}, },
get (id) { get (id) {
return axiosApi({ return axiosApi({
url: `/msgs/smsTask/${id}`, url: `/smsTask/${id}`,
method: 'GET' method: 'GET'
}) })
}, },

16
src/api/SmsTemplate.js

@ -2,36 +2,36 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
url: `/msgs/smsTemplate/page`, url: `/smsTemplate/page`,
method: 'POST' method: 'POST'
}, },
save: { save: {
url: `/msgs/smsTemplate`, url: `/smsTemplate`,
method: 'POST' method: 'POST'
}, },
update: { update: {
url: `/msgs/smsTemplate`, url: `/smsTemplate`,
method: 'PUT' method: 'PUT'
}, },
delete: { delete: {
url: `/msgs/smsTemplate`, url: `/smsTemplate`,
method: 'DELETE' method: 'DELETE'
}, },
check: { check: {
url: `/msgs/smsTemplate/check`, url: `/smsTemplate/check`,
method: 'GET' method: 'GET'
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/msgs/smsTemplate/preview` url: `/smsTemplate/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/msgs/smsTemplate/export` url: `/smsTemplate/export`
}, },
import: { import: {
method: 'POST', method: 'POST',
url: `/msgs/smsTemplate/import` url: `/smsTemplate/import`
} }
} }

14
src/api/Station.js

@ -2,32 +2,32 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
url: `/authority/station/page`, url: `/station/page`,
method: 'POST' method: 'POST'
}, },
save: { save: {
url: `/authority/station`, url: `/station`,
method: 'POST' method: 'POST'
}, },
update: { update: {
url: `/authority/station`, url: `/station`,
method: 'PUT' method: 'PUT'
}, },
delete: { delete: {
url: `/authority/station`, url: `/station`,
method: 'DELETE' method: 'DELETE'
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/authority/station/preview` url: `/station/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/authority/station/export` url: `/station/export`
}, },
import: { import: {
method: 'POST', method: 'POST',
url: `/authority/station/import` url: `/station/import`
} }
} }

14
src/api/SystemApi.js

@ -3,31 +3,31 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
method: 'POST', method: 'POST',
url: `/authority/systemApi/page` url: `/systemApi/page`
}, },
update: { update: {
method: 'PUT', method: 'PUT',
url: `/authority/systemApi` url: `/systemApi`
}, },
save: { save: {
method: 'POST', method: 'POST',
url: `/authority/systemApi` url: `/systemApi`
}, },
delete: { delete: {
method: 'DELETE', method: 'DELETE',
url: `/authority/systemApi` url: `/systemApi`
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/authority/systemApi/preview` url: `/systemApi/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/authority/systemApi/export` url: `/systemApi/export`
}, },
import: { import: {
method: 'POST', method: 'POST',
url: `/authority/systemApi/import` url: `/systemApi/import`
} }
} }

10
src/api/Tenant copy.js

@ -3,23 +3,23 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
method: 'POST', method: 'POST',
url: `/authority/tenant/page` url: `/tenant/page`
}, },
update: { update: {
method: 'PUT', method: 'PUT',
url: `/authority/tenant` url: `/tenant`
}, },
save: { save: {
method: 'POST', method: 'POST',
url: `/authority/tenant` url: `/tenant`
}, },
saveInit: { saveInit: {
method: 'POST', method: 'POST',
url: `/authority/tenant/init` url: `/tenant/init`
}, },
remove: { remove: {
method: 'DELETE', method: 'DELETE',
url: `/authority/tenant/remove` url: `/tenant/remove`
} }
} }

20
src/api/Tenant.js

@ -3,39 +3,39 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
method: 'POST', method: 'POST',
url: `/authority/tenant/page` url: `/tenant/page`
}, },
update: { update: {
method: 'PUT', method: 'PUT',
url: `/authority/tenant` url: `/tenant`
}, },
save: { save: {
method: 'POST', method: 'POST',
url: `/authority/tenant` url: `/tenant`
}, },
saveInit: { saveInit: {
method: 'POST', method: 'POST',
url: `/authority/tenant/init` url: `/tenant/init`
}, },
remove: { remove: {
method: 'DELETE', method: 'DELETE',
url: `/authority/tenant` url: `/tenant`
}, },
list: { list: {
method: 'POST', method: 'POST',
url: `/authority/tenant/query` url: `/tenant/query`
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/authority/tenant/preview` url: `/tenant/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/authority/tenant/export` url: `/tenant/export`
}, },
import: { import: {
method: 'POST', method: 'POST',
url: `/authority/tenant/import` url: `/tenant/import`
} }
} }
@ -80,7 +80,7 @@ export default {
check (code) { check (code) {
return axiosApi({ return axiosApi({
method: 'GET', method: 'GET',
url: `/authority/tenant/check/${code}` url: `/tenant/check/${code}`
}) })
}, },
preview (data) { preview (data) {

26
src/api/User.js

@ -3,51 +3,51 @@ import axiosApi from './AxiosApi.js'
const apiList = { const apiList = {
page: { page: {
method: 'POST', method: 'POST',
url: `/authority/user/page` url: `/user/page`
}, },
save: { save: {
method: 'POST', method: 'POST',
url: `/authority/user` url: `/user`
}, },
update: { update: {
method: 'PUT', method: 'PUT',
url: `/authority/user` url: `/user`
}, },
updateBaseInfo: { updateBaseInfo: {
method: 'PUT', method: 'PUT',
url: `/authority/user/base` url: `/user/base`
}, },
avatar: { avatar: {
method: 'PUT', method: 'PUT',
url: `/authority/user/avatar` url: `/user/avatar`
}, },
delete: { delete: {
method: 'DELETE', method: 'DELETE',
url: `/authority/user` url: `/user`
}, },
reset: { reset: {
method: 'GET', method: 'GET',
url: `/authority/user/reset` url: `/user/reset`
}, },
updatePassword: { updatePassword: {
method: 'PUT', method: 'PUT',
url: `/authority/user/password` url: `/user/password`
}, },
reload: { reload: {
method: 'POST', method: 'POST',
url: `/authority/user/reload` url: `/user/reload`
}, },
preview: { preview: {
method: 'POST', method: 'POST',
url: `/authority/user/preview` url: `/user/preview`
}, },
export: { export: {
method: 'POST', method: 'POST',
url: `/authority/user/export` url: `/user/export`
}, },
import: { import: {
method: 'POST', method: 'POST',
url: `/authority/user/import` url: `/user/import`
} }
} }
@ -91,7 +91,7 @@ export default {
get (id) { get (id) {
return axiosApi({ return axiosApi({
method: 'GET', method: 'GET',
url: `/authority/user/${id}` url: `/user/${id}`
}) })
}, },
reset (data) { reset (data) {

7
src/components/ImageUpload/index.vue

@ -8,15 +8,15 @@
:file-list="item" :file-list="item"
:on-success="handleImageSuccess" :on-success="handleImageSuccess"
class="upload-uploader" class="upload-uploader"
action="/api/authority/file/upload" :action="action"
> >
<img v-if="src" class="upload-images" :src="src"> <img v-if="src" class="upload-images" :src="src" />
<div <div
v-else v-else
slot="trigger" slot="trigger"
class="upload-btn" class="upload-btn"
> >
<i class="el-icon-upload" /> <i class="el-icon-upload"></i>
<span class="upload-title">选择图片</span> <span class="upload-title">选择图片</span>
</div> </div>
</el-upload> </el-upload>
@ -46,6 +46,7 @@ export default {
headers: { headers: {
Authorization: '' Authorization: ''
}, },
action: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/file/upload`,
dataObj: { dataObj: {
folderId: 1 folderId: 1
} }

2
src/components/ceres/fileUpload.vue

@ -66,7 +66,7 @@ export default {
}, },
action: { action: {
type: String, type: String,
default: `${process.env.VUE_APP_BASE_API}/file/attachment/upload` default: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/attachment/upload`
}, },
// //
acceptSize: { acceptSize: {

2
src/components/ceres/imgUpload.vue

@ -96,7 +96,7 @@ export default {
// //
isUploadError: false, isUploadError: false,
fileLength: 0, fileLength: 0,
action: `${process.env.VUE_APP_BASE_API}/file/attachment/upload` action: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/attachment/upload`
} }
}, },
computed: { computed: {

2
src/views/ceres/auth/role/Index.vue

@ -301,7 +301,7 @@ export default {
fileImport: { fileImport: {
isVisible: false, isVisible: false,
type: "import", type: "import",
action: `${process.env.VUE_APP_BASE_API}/authority/role/import` action: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/role/import`
}, },
userRoleDialog: { userRoleDialog: {
isVisible: false isVisible: false

2
src/views/ceres/base/dict/DictionaryItem.vue

@ -188,7 +188,7 @@ export default {
fileImport: { fileImport: {
isVisible: false, isVisible: false,
type: "import", type: "import",
action: `${process.env.VUE_APP_BASE_API}/authority/dictionaryItem/import` action: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/dictionaryItem/import`
}, },
tableKey: 0, tableKey: 0,
queryParams: initQueryParams({ queryParams: initQueryParams({

2
src/views/ceres/base/parameter/Index.vue

@ -232,7 +232,7 @@ export default {
fileImport: { fileImport: {
isVisible: false, isVisible: false,
type: "import", type: "import",
action: `${process.env.VUE_APP_BASE_API}/authority/parameter/import` action: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/parameter/import`
}, },
tableKey: 0, tableKey: 0,
queryParams: initQueryParams({ queryParams: initQueryParams({

2
src/views/ceres/sms/manage/Index.vue

@ -224,7 +224,7 @@ export default {
fileImport: { fileImport: {
isVisible: false, isVisible: false,
type: "import", type: "import",
action: `${process.env.VUE_APP_BASE_API}/msgs/smsTask/import` action: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/smsTask/import`
}, },
tableKey: 0, tableKey: 0,
queryParams: initQueryParams({}), queryParams: initQueryParams({}),

2
src/views/ceres/sms/template/Index.vue

@ -208,7 +208,7 @@ export default {
fileImport: { fileImport: {
isVisible: false, isVisible: false,
type: "import", type: "import",
action: `${process.env.VUE_APP_BASE_API}/msgs/smsTemplate/import` action: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/smsTemplate/import`
}, },
tableKey: 0, tableKey: 0,
queryParams: initQueryParams({ queryParams: initQueryParams({

2
src/views/ceres/user/org/Index.vue

@ -139,7 +139,7 @@ export default {
fileImport: { fileImport: {
isVisible: false, isVisible: false,
type: "import", type: "import",
action: `${process.env.VUE_APP_BASE_API}/authority/org/import` action: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/org/import`
}, },
rules: { rules: {
label: [ label: [

2
src/views/ceres/user/station/Index.vue

@ -236,7 +236,7 @@ export default {
fileImport: { fileImport: {
isVisible: false, isVisible: false,
type: "import", type: "import",
action: `${process.env.VUE_APP_BASE_API}/authority/station/import` action: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/station/import`
}, },
tableKey: 0, tableKey: 0,
orgList: [], orgList: [],

4
src/views/ceres/user/user/Index.vue

@ -368,8 +368,8 @@ export default {
fileImport: { fileImport: {
isVisible: false, isVisible: false,
type: "import", type: "import",
action: `${process.env.VUE_APP_BASE_API}/authority/user/import`, action: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/user/import`,
exportErrorUrl: `/authority/user/exportError` exportErrorUrl: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/user/exportError`
}, },
userViewVisible: false, userViewVisible: false,
tableKey: 0, tableKey: 0,

3
src/views/classification/Edit.vue

@ -48,7 +48,7 @@
:file-list="data.categoryImgArray" :file-list="data.categoryImgArray"
:on-success="handleImageSuccess" :on-success="handleImageSuccess"
class="upload-uploader" class="upload-uploader"
action="/api/authority/file/upload" :action="action"
> >
<img <img
v-if="data.categoryImgArray&&data.categoryImgArray[0].url" v-if="data.categoryImgArray&&data.categoryImgArray[0].url"
@ -176,6 +176,7 @@ export default {
headers: { headers: {
Authorization: '' Authorization: ''
}, },
action: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/file/upload`,
dataObj: { dataObj: {
folderId: 1 folderId: 1
} }

3
src/views/marketing/add/index.vue

@ -97,7 +97,7 @@
class="avatar-uploader" class="avatar-uploader"
:headers="headers" :headers="headers"
:data="dataObj" :data="dataObj"
action="/api/authority/file/upload" :action="action"
:show-file-list="false" :show-file-list="false"
:on-success="handleAvatarSuccess" :on-success="handleAvatarSuccess"
:disabled="unStart" :disabled="unStart"
@ -143,6 +143,7 @@ export default {
headers: { headers: {
Authorization: '' Authorization: ''
}, },
action: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/file/upload`,
dataObj: { dataObj: {
folderId: 1 folderId: 1
}, },

44
vue.config.js

@ -6,29 +6,8 @@ function resolve(dir) {
} }
const name = settings.title // page title const name = settings.title // page title
// If your port is set to 80,
// use administrator privileges to execute the command line.
// For example, Mac: sudo npm run
// const port = 9527 // dev port
const targetUrl = process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX
console.log(targetUrl)
const proxyUrl = process.env.VUE_APP_BASE_API
// console.log(process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX)
// console.log(process.env.VUE_APP_BASE_API)
// console.log(process.env.VUE_APP_PROD_REQUEST_DOMAIN_PREFIX)
// console.log(process.env)
// All configuration item explanations can be find in https://cli.vuejs.org/config/
module.exports = { module.exports = {
/**
* You will need to set publicPath if you plan to deploy your site under a sub path,
* for example GitHub Pages. If you plan to deploy your site to https://foo.github.io/bar/,
* then publicPath should be set to "/bar/".
* In most cases please use '/' !!!
* Detail: https://cli.vuejs.org/config/#publicpath
*/
publicPath: './', publicPath: './',
outputDir: process.env.VUE_APP_PROJECT_NAME, outputDir: process.env.VUE_APP_PROJECT_NAME,
assetsDir: 'static', assetsDir: 'static',
@ -41,30 +20,9 @@ module.exports = {
warnings: false, warnings: false,
errors: true errors: true
}, },
contentBase: './', contentBase: './'
proxy: {
// change xxx-api/login => ≥mock/login
// detail: https://cli.vuejs.org/config/#devserver-proxy
[proxyUrl]: {
target: targetUrl,
changeOrigin: true,
pathRewrite: {
// SpringCloud 项目使用这段配置
['^' + proxyUrl]: proxyUrl
// SpringBoot 项目 请使用以下的配置
// ['^/api/oauth']: '/',
// ['^/api/authority']: '/',
// ['^/api/file']: '/',
// ['^/api/msgs']: '/',
// ['^/api/gate']: '/'
}
}
}
}, },
configureWebpack: { configureWebpack: {
// provide the app's title in webpack's name field, so that
// it can be accessed in index.html to inject the correct title.
name: name, name: name,
resolve: { resolve: {
alias: { alias: {

Loading…
Cancel
Save