代码合并
This commit is contained in:
@@ -41,3 +41,13 @@ export const forgetPwd = (data) => {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 绑定
|
||||
*/
|
||||
export const bind = (data) => {
|
||||
return http.request({
|
||||
url: '/Login/registerCode',
|
||||
method: 'POST',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
63
api/me/me.js
63
api/me/me.js
@@ -9,4 +9,67 @@ export const selectByUserId = (data) => {
|
||||
data: data,
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取客服微信
|
||||
*/
|
||||
export const commonType = (type) => {
|
||||
return http.request({
|
||||
url: `/common/type/${type}`,
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 金币明细
|
||||
*/
|
||||
export const queryUserMoneyDetails = (data) => {
|
||||
return http.request({
|
||||
url: '/moneyDetails/queryUserMoneyDetails',
|
||||
method: 'GET',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 意见反馈
|
||||
*/
|
||||
export const sendMessage = (data) => {
|
||||
return http.request({
|
||||
url: '/message/sendMessage',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 帮助中心
|
||||
*/
|
||||
export const selectHelpList = (data) => {
|
||||
return http.request({
|
||||
url: '/helpWord/selectHelpList',
|
||||
method: 'GET',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 个人中心数据
|
||||
*/
|
||||
export const collectVideoSummary = () => {
|
||||
return http.request({
|
||||
url: '/courseCollect/collectVideoSummary',
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 金币
|
||||
*/
|
||||
export const selectUserMoney = () => {
|
||||
return http.request({
|
||||
url: '/moneyDetails/selectUserMoney',
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
11
api/me/message.js
Normal file
11
api/me/message.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import http from '@/http/http.js'
|
||||
|
||||
/**
|
||||
* 获取消息列表
|
||||
*/
|
||||
export const selectMessageByUserId = (data) => {
|
||||
return http.request({
|
||||
url: '/message/selectMessageByUserId',
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
71
api/me/withdraw.js
Normal file
71
api/me/withdraw.js
Normal file
@@ -0,0 +1,71 @@
|
||||
import http from '@/http/http.js'
|
||||
|
||||
/**
|
||||
* 获取提现金额
|
||||
*/
|
||||
export const selectUserMoney = (data) => {
|
||||
return http.request({
|
||||
url: '/moneyDetails/selectUserMoney',
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取提现记录
|
||||
*/
|
||||
export const selectPayDetails = (data) => {
|
||||
return http.request({
|
||||
url: '/cash/selectPayDetails',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 红包明细记录
|
||||
*/
|
||||
export const queryUserMoneyDetails = (data) => {
|
||||
return http.request({
|
||||
url: '/moneyDetails/queryUserMoneyDetails',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 修改提现账号
|
||||
*/
|
||||
export const updateUser = (data) => {
|
||||
return http.request({
|
||||
url: '/user/updateUser',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取看广告状态
|
||||
*/
|
||||
export const canCash = (data) => {
|
||||
return http.request({
|
||||
url: '/cash/canCash',
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 广告状态修改
|
||||
*/
|
||||
export const state = (data) => {
|
||||
return http.request({
|
||||
url: '/ad/state',
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 广告状态修改
|
||||
*/
|
||||
export const withdraw = (data) => {
|
||||
return http.request({
|
||||
url: '/cash/withdraw',
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
|
||||
32
api/share/index.js
Normal file
32
api/share/index.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import http from '@/http/http.js'
|
||||
|
||||
/**
|
||||
* 获取已邀请列表
|
||||
*/
|
||||
export const selectInviteByUserIdLists = (data) => {
|
||||
return http.request({
|
||||
url: '/invite/selectInviteByUserIdLists',
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取邀请战绩
|
||||
*/
|
||||
export const selectInviteMoney = (data) => {
|
||||
return http.request({
|
||||
url: '/invite/selectInviteMoney',
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取海报数据
|
||||
*/
|
||||
export const selectBannerList = (data) => {
|
||||
return http.request({
|
||||
url: '/banner/selectBannerList',
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -8,4 +8,15 @@ export const selectUserById = (data) => {
|
||||
url: '/user/selectUserById',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改用户信息
|
||||
*/
|
||||
export const updateUsers = (data) => {
|
||||
return http.request({
|
||||
url: '/user/updateUsers',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user