sl-express/project-wl-yonghuduan-uniapp-vue3/unpackage/dist/dev/mp-weixin/pages/api/my.js

21 lines
548 B
JavaScript
Raw Normal View History

2023-09-04 16:40:17 +08:00
"use strict";
var utils_request = require("../../utils/request.js");
const getUserInfo = (params) => utils_request.request({
url: `/user/profile`,
method: "get",
params
});
const getRealNameStatusApi = (params) => utils_request.request({
url: `/user/realNameVerify`,
method: "post",
params
});
const updateUserInfo = (params) => utils_request.request({
url: `/user/profile`,
method: "put",
params
});
exports.getRealNameStatusApi = getRealNameStatusApi;
exports.getUserInfo = getUserInfo;
exports.updateUserInfo = updateUserInfo;