You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import request from '@/apis/request.js'
|
|
|
|
const { get, post } = request
|
|
|
|
|
|
|
|
export const savePartnerAccount = (data) => {
|
|
|
|
return post('nakadai/nakadai/partnerAccount/savePartnerAccount', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const teamList = (data) => {
|
|
|
|
return post('nakadai/nakadai/partnerAccount/partnerAccountList', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const generateInvitationCode = accountId => {
|
|
|
|
return post(`nakadai/nakadai/partnerAccount/generateInvitationCode?accountId=${accountId}`)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const treeList = () => {
|
|
|
|
return post('nakadai/nakadai/partnerClassification/treeList?applet=1')
|
|
|
|
}
|
|
|
|
|
|
|
|
export const my = (data) => {
|
|
|
|
return get('nakadai/nakadai/partner-team/my', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const mailFileSend = (data) => {
|
|
|
|
return post('nakadai/nakadai/partnerAccount/mailFileSend', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const getAllTeam = () => {
|
|
|
|
return get('nakadai/nakadai/partnerClassification/getAllTeam')
|
|
|
|
}
|
|
|
|
|
|
|
|
export const teamPartnerList = (data) => {
|
|
|
|
return post('nakadai/nakadai/partnerAccount/teamPartnerList', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const queryTeamMembers = (data) => {
|
|
|
|
return post('nakadai/nakadai/partnerAccount/queryTeamMembers', data)
|
|
|
|
}
|