初始化询价智能体新仓:同步本地工程并排除密钥与 .env。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
linmianxun
2026-09-13 14:30:44 +08:00
co-authored by Cursor
commit 2a14def882
2621 changed files with 393165 additions and 0 deletions
@@ -0,0 +1,21 @@
/**
* 员工岗位 API:对接主账 /inquiry/staffRole。
* 与 Jeecg /sys/user 分离——本页管企微岗位绑定。
*/
import { defHttp } from '/@/utils/http/axios';
enum Api {
list = '/inquiry/staffRole/list',
counts = '/inquiry/staffRole/counts',
add = '/inquiry/staffRole/add',
edit = '/inquiry/staffRole/edit',
disable = '/inquiry/staffRole/disable',
queryById = '/inquiry/staffRole/queryById',
}
export const getStaffList = (params) => defHttp.get({ url: Api.list, params });
export const getStaffCounts = () => defHttp.get({ url: Api.counts });
export const saveStaff = (params, isUpdate: boolean) =>
isUpdate ? defHttp.put({ url: Api.edit, params }) : defHttp.post({ url: Api.add, params });
export const disableStaff = (id: string) => defHttp.post({ url: Api.disable, params: { id } });
export const getStaffById = (id: string) => defHttp.get({ url: Api.queryById, params: { id } });