feat: update of partner
This commit is contained in:
@ -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',
|
||||
}
|
||||
|
@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user