Commit 9300c244 authored by guoyou's avatar guoyou

添加编辑接口更换

parent dbaa900f
...@@ -111,7 +111,7 @@ export function jobs(obj) { ...@@ -111,7 +111,7 @@ export function jobs(obj) {
// 添加员工 // 添加员工
export function addEditor(obj) { export function addEditor(obj) {
return fetch({ return fetch({
url: '/api/admin/postion/admin/add', url: '/api/admin/postion/admin/addUserPostion',
method: 'post', method: 'post',
data: obj data: obj
}); });
...@@ -120,7 +120,7 @@ export function addEditor(obj) { ...@@ -120,7 +120,7 @@ export function addEditor(obj) {
// 编辑员工 // 编辑员工
export function editorUpd(obj) { export function editorUpd(obj) {
return fetch({ return fetch({
url: '/api/admin/postion/admin/upd', url: '/api/admin/postion/admin/updUserPostion',
method: 'post', method: 'post',
data: obj 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