1
This commit is contained in:
@@ -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 的路径:鉴权与版本、平台工具路由
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user