feat: update of partner

This commit is contained in:
eleanor.mao
2025-05-15 01:02:00 +08:00
parent 7aafc3a789
commit d2ac64f20c
52 changed files with 1435 additions and 265 deletions

View File

@ -1,7 +1,5 @@
// export const DOMAIN = 'http://10.147.18.100:8082';
export const DOMAIN = 'https://neighbourhood.cn';
export const DOMAIN = 'http://192.168.60.120:8082';
// 'https://neighbourhood.cn';
export const BASE_URL = `${DOMAIN}/api`;
export enum API {
@ -77,4 +75,11 @@ export enum API {
MESSAGE_GET_ACTION_DETAIL = '/chat/action/getActionDetail',
MESSAGE_CONFIRM_ACTION = '/chat/action/confirm',
MESSAGE_LIST_STATUS = '/chat/msg/listStatus',
// partner
PARTNER_QRCODE = '/user/getInviteQrCode',
GET_INVITE_CODE = '/user/getUserInviteCode',
GET_INVITE_LIST = '/user/inviteUsers',
BECOME_PARTNER = '/user/becomePartner',
GET_PROFIT_LIST = '/profit/profits',
GET_PROFIT_STAT = '/profit/partnerProfitsStat',
}

View File

@ -107,7 +107,7 @@ class Http {
url: BASE_URL + url,
data,
method: method,
header: { 'content-type': contentType },
header: { 'content-type': contentType /*, 'user-Id': '588002047871053824' */ },
};
return this.request(option);
};