import { creatRequest } from '../../utils/request.js';

const requestList = {
  //登录
  reSetPsdName: {
    method: 'POST',
    url: 'user/modifyPwd',
  },
};
export const commServer = ({ key, data }) => {
  let obj = requestList[key];
  return creatRequest(obj, data);
}