user.js
796 字节
"use strict";const t=require("../uni_modules/uview-plus/index.js");exports.carInfoAdd=e=>t.http.post("/registration/add",e,{custom:{auth:!0}}),exports.carInfoEdit=e=>t.http.post("/registration/edit",e,{custom:{auth:!0}}),exports.getCodeImg=e=>t.http.get("/captchaImage"),exports.getNotice=e=>t.http.get(`/system/notice/${e}`,{custom:{auth:!0}}),exports.getUserCarInfo=e=>t.http.get("/registration/listRegistration",{params:e,custom:{auth:!0}}),exports.getUserInfo=e=>t.http.get("/system/user/profile",{custom:{auth:!0}}),exports.updateUserInfo=e=>t.http.put("/system/user/profile",e,{custom:{auth:!0}}),exports.userCancel=()=>t.http.get("/system/user/deRegistration",{custom:{auth:!0}}),exports.userLogin=e=>t.http.post("/login",e),exports.userWxLogin=(e,s={})=>t.http.post("/wechat/login",e,s);