|
@@ -10,7 +10,7 @@ interface ResponseType extends Promise<any> {
|
|
|
}
|
|
|
// 添加
|
|
|
export const httpAdd = (data: object): ResponseType => {
|
|
|
- return http.request("post", `${yewuApi}adminAccountAdd`, { data });
|
|
|
+ return http.request("post", `${yewuApi}useradd`, { data });
|
|
|
};
|
|
|
// 列表
|
|
|
export const httpList = (data: object): ResponseType => {
|