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.
|
|
|
/*
|
|
|
|
* @Author: ch
|
|
|
|
* @Date: 2022-03-17 16:38:39
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditTime: 2022-04-02 09:58:50
|
|
|
|
* @Description: file content
|
|
|
|
*/
|
|
|
|
|
|
|
|
import {ToAsyncAwait, MsbRequest} from '@/common/utils';
|
|
|
|
|
|
|
|
import orderList from '@/mock/orderList'
|
|
|
|
|
|
|
|
const ApiGetCurrentUser = () =>
|
|
|
|
ToAsyncAwait(MsbRequest.get('/user/current'));
|
|
|
|
|
|
|
|
const ApiPutUser = (data) =>
|
|
|
|
ToAsyncAwait(MsbRequest.put('/user/', data))
|
|
|
|
export {
|
|
|
|
// 获取当前登录用户信息
|
|
|
|
ApiGetCurrentUser,
|
|
|
|
// 修改用户信息
|
|
|
|
ApiPutUser
|
|
|
|
}
|
|
|
|
|