新增个人中心运营中心
This commit is contained in:
@@ -47,7 +47,6 @@ const request = (parameter, hideLoding = true) => {
|
||||
data : parameter.data || {},
|
||||
method : parameter.method || 'GET',
|
||||
success : res => {
|
||||
console.log(res)
|
||||
if (res.header.Authorization){
|
||||
updateToken('token', res.header.Authorization)
|
||||
}
|
||||
|
||||
@@ -133,6 +133,29 @@ const relationsBind = (invite, type) => {
|
||||
})
|
||||
}
|
||||
|
||||
// 提交运营中心别名
|
||||
const submitTeamName = (data) => {
|
||||
return request({
|
||||
url: 'user/team',
|
||||
data:data,
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
// 获取运营中心记录
|
||||
const getTeam = () => {
|
||||
return request({
|
||||
url : 'user/team',
|
||||
})
|
||||
}
|
||||
|
||||
// 获取运营中心记录
|
||||
const getTeamLogs = data => {
|
||||
return request({
|
||||
url: 'user/team/logs',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export {
|
||||
relations,
|
||||
code,
|
||||
@@ -148,5 +171,8 @@ export {
|
||||
userInfoBank,
|
||||
getRegion,
|
||||
relationsVerify,
|
||||
relationsBind
|
||||
relationsBind,
|
||||
submitTeamName,
|
||||
getTeam,
|
||||
getTeamLogs,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user