fetch(add): 订单管理-企业设备
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 3m30s

This commit is contained in:
sexygoat
2026-01-29 15:43:45 +08:00
parent 1812b7a6c4
commit 841cf0442b
58 changed files with 8948 additions and 1164 deletions

View File

@@ -61,6 +61,24 @@ export class BaseService {
})
}
/**
* PATCH 请求
* @param url 请求URL
* @param data 请求数据
* @param config 额外配置
*/
protected static patch<T = any>(
url: string,
data?: Record<string, any>,
config?: Record<string, any>
): Promise<T> {
return request.patch<T>({
url,
data,
...config
})
}
/**
* DELETE 请求
* @param url 请求URL