1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- import request from '@/utils/request'
- import {upFilse} 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 updatalogin(data) {
- return request({
- url: '/api/register/reset',
- method: 'post',
- data
- });
- }
- //修改交易密码
- export function updatatran(data) {
- return request({
- url: '/api/register/tradereset',
- method: 'post',
- data
- });
- }
- export function addmsg(data) {
- return request({
- url: '/api/mine/addmsg',
- method: 'post',
- data
- });
- }
- //上传图片
- export function upload(data) {
- return upFilse({
- url: '/api/upload/image',
- method: 'post',
- data
- });
- }
- //上传图片
- export function mymsg(data) {
- return request({
- url: '/api/mine/mymsg',
- method: 'post',
- data
- });
- }
|