caixianzhi pc接口修改完成
This commit is contained in:
@@ -9,8 +9,17 @@ const ApiClient = {
|
||||
authLogout: '/api/web/auth/logout',
|
||||
authRegister: '/api/web/auth/register',
|
||||
authSmsCode: '/api/web/auth/sms/code',
|
||||
authWechatOpen: '/api/web/auth/binding/wechat_open',
|
||||
authVerifyConfig: '/api/web/auth/verify-config',
|
||||
authSlideCaptcha: '/api/web/auth/slide-captcha',
|
||||
authSlideCaptchaVerify: '/api/web/auth/slide-captcha/verify',
|
||||
authForgotPasswordSmsCode: '/api/web/auth/forgot-password/sms-code',
|
||||
authForgotPasswordReset: '/api/web/auth/forgot-password/reset',
|
||||
authSocialLogin: '/api/web/auth/social-login',
|
||||
authSocialCallback: '/api/web/auth/social-callback',
|
||||
authSocialBind: '/api/web/auth/social-bind',
|
||||
authSocialBindPhone: '/api/web/auth/social-bind-phone',
|
||||
authSocialBindPhoneSmsCode: '/api/web/auth/social-bind-phone/sms-code',
|
||||
webConfigList: '/api/web/config/list',
|
||||
referralShareInfo: '/api/web/referral/share-info',
|
||||
referralSummary: '/api/web/referral/summary',
|
||||
@@ -18,6 +27,7 @@ const ApiClient = {
|
||||
referralRebateList: '/api/web/referral/rebate-list',
|
||||
referralBindPreview: '/api/web/referral/bind-preview',
|
||||
referralBind: '/api/web/referral/bind',
|
||||
accountInfo: '/api/web/account/info',
|
||||
accountProfile: '/api/web/account/profile',
|
||||
accountProfileAvatar: '/api/web/account/profile/avatar',
|
||||
expertConfig: '/api/web/expert/config',
|
||||
@@ -83,6 +93,10 @@ const ApiClient = {
|
||||
);
|
||||
},
|
||||
|
||||
get CLIENT_ID() {
|
||||
return this.clientId;
|
||||
},
|
||||
|
||||
get tenantId() {
|
||||
return (
|
||||
(window.CURRENT_CONFIG && window.CURRENT_CONFIG.TENANT_ID) ||
|
||||
|
||||
Reference in New Issue
Block a user