修改租户id
This commit is contained in:
+2
-1
@@ -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`,
|
||||
|
||||
Reference in New Issue
Block a user