修改租户id

This commit is contained in:
rain
2026-06-09 14:00:38 +08:00
parent 7f7fd61ec0
commit 0bf2f573ed
9 changed files with 133 additions and 13 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
const ApiClient = {
// 后端租户标识,所有接口请求都会带到 header 里。
// 后面如果租户号更换,只需要改这里的默认值,或在 config.js 里配置 CURRENT_CONFIG.TENANT_ID。
TENANT_ID: '000000',
TENANT_ID: '936208',
API: {
authCode: '/api/web/auth/code',
@@ -69,6 +69,7 @@ const ApiClient = {
minePayArticleList: '/api/web/mine/pay-article/list',
minePayArticleDetail: (id) => `/api/web/mine/pay-article/${encodeURIComponent(id)}`,
minePurchasedPayArticleList: '/api/web/mine/purchased-pay-article/list',
minePurchasedPayArticleDelete: (sourceType, recordId) => `/api/web/mine/purchased-pay-article/${encodeURIComponent(sourceType)}/${encodeURIComponent(recordId)}`,
freeArticleDetail: (id) => `/api/web/free-article/${encodeURIComponent(id)}`,
freeArticleRelated: (id) => `/api/web/free-article/${encodeURIComponent(id)}/related`,
freeArticleComments: (id) => `/api/web/free-article/${encodeURIComponent(id)}/comments`,