Commit eacd89ac authored by shifangwuji's avatar shifangwuji

9/20(2)

parent 571e53f7
...@@ -8,7 +8,7 @@ export function queryList(params) { ...@@ -8,7 +8,7 @@ export function queryList(params) {
params params
}) })
} }
// 添加基础信息接口 // 保存接口
export function add(data) { export function add(data) {
return request({ return request({
url: '/ysgxlog/add', url: '/ysgxlog/add',
...@@ -20,17 +20,11 @@ export function add(data) { ...@@ -20,17 +20,11 @@ export function add(data) {
}) })
} }
// 根据id查询基础信息接口
export function getDetailById(id) {
return request({
url: '/ysgxlog/detail/' + id,
method: 'get'
})
}
// 编辑基础信息接口 // 编辑基础信息接口
export function updataInfo(data) { export function updataInfo(data) {
return request({ return request({
url: '/ysgxlog/update', url: '/ysgxlog/unlock',
method: 'put', method: 'put',
data, data,
headers: { headers: {
......
This diff is collapsed.
This diff is collapsed.
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