1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- import request from '@/utils/request'
- // 修改用户信息
- export function userEdit(data) {
- return request({
- url: '/api/user/edit',
- method: 'post',
- data
- });
- }
- //退出登录
- export function logout(data) {
- return request({
- url: '/api/logout',
- method: 'get',
- data
- });
- }
- //修改密码
- export function registerReset(data) {
- return request({
- url: '/api/register/reset',
- method: 'post',
- data
- });
- }
- //节点计划列表
- export function getPoint(data) {
- return request({
- url: '/api/point_plan',
- method: 'GET',
- data
- });
- }
- //购买节点
- export function buyPoint(data,id) {
- return request({
- url: '/api/point_plan/' + id,
- method: 'POST',
- data
- });
- }
- //实名认证
- export function realName(data) {
- return request({
- url: '/api/real_name',
- method: 'POST',
- data
- });
- }
- //设置下级服务费比例
- export function setServiceRatio(uid,data) {
- return request({
- url: '/api/spread/service/'+uid,
- method: 'post',
- data
- })
- }
- //设置下级佣金比例
- export function setRatio(uid,data) {
- return request({
- url: '/api/spread/ratio/'+uid,
- method: 'post',
- data
- })
- }
- //绑定手机
- export function binding(data) {
- return request({
- url: '/api/binding',
- method: 'post',
- data
- });
- }
- // #ifdef APP-PLUS
- //苹果生成账户
- export function applelogin(data) {
- return request({
- url: '/api/applelogin',
- method: 'post',
- data
- });
- }
- // #endif
|