Commit 9300c244 authored by guoyou's avatar guoyou

添加编辑接口更换

parent dbaa900f
......@@ -111,7 +111,7 @@ export function jobs(obj) {
// 添加员工
export function addEditor(obj) {
return fetch({
url: '/api/admin/postion/admin/add',
url: '/api/admin/postion/admin/addUserPostion',
method: 'post',
data: obj
});
......@@ -120,7 +120,7 @@ export function addEditor(obj) {
// 编辑员工
export function editorUpd(obj) {
return fetch({
url: '/api/admin/postion/admin/upd',
url: '/api/admin/postion/admin/updUserPostion',
method: 'post',
data: obj
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment