6/22完善引入,

This commit is contained in:
Zy
2026-06-22 08:14:35 +08:00
parent ea8129216b
commit 826bf3c782
208 changed files with 1122 additions and 1685 deletions

View File

@@ -64,20 +64,27 @@ export const delCar = (id: string | number | Array<string | number>) => {
/**
* 删除车辆图片
* @param id
* @param format
*/
export const uploadCar = (formdata: FormData) => {
export const uploadCar = (format: FormData) => {
return request({
url: '/car/uploadImage',
method: 'POST',
data: formdata
data: format
});
};
export interface AppUserList {
'user_id': string;
'user_name': string;
'user_phone': string;
}
/**
* 获取用户端app-用户
* */
export const getAppUser = (data) => {
export const getAppUser = (
data
): AxiosPromise<AppUserList[]> => {
return request({
url: '/car/getAppUserList',
method: 'GET',