This commit is contained in:
2025-09-30 09:42:43 +08:00
parent 9719228d6d
commit c5ac27cdec
15 changed files with 222 additions and 139 deletions

View File

@@ -2,7 +2,7 @@
export type HttpMethod = 'GET' | 'POST';
const BASE_CLIENT = 'http://localhost:8081'; // erp_client_sb
const BASE_RUOYI = 'http://localhost:8080';
const BASE_RUOYI = 'http://192.168.1.89:8080';
function resolveBase(path: string): string {
// 走 ruoyi-admin 的路径:鉴权与版本、平台工具路由

View File

@@ -53,7 +53,7 @@ export const zebraApi = {
return http.delete<void>(`/tool/banma/accounts/${id}`);
},
// 业务采集(仍走客户端微服务 8081
// 业务采集
getShops(params?: { accountId?: number }) {
return http.get<{ data?: { list?: Array<{ id: string; shopName: string }> } }>(
'/api/banma/shops', params as unknown as Record<string, unknown>