update
This commit is contained in:
@@ -211,6 +211,27 @@ const merchant = {
|
||||
data: data
|
||||
});
|
||||
},
|
||||
getMaterialList: async (id) => {
|
||||
return request({
|
||||
url: '/index/task/getMaterialList',
|
||||
method: Method.POST,
|
||||
data: {id}
|
||||
});
|
||||
},
|
||||
addMaterial: async (data) => {
|
||||
return request({
|
||||
url: '/index/task/addMaterial',
|
||||
method: Method.POST,
|
||||
data: data
|
||||
});
|
||||
},
|
||||
delMaterial: async (id) => {
|
||||
return request({
|
||||
url: '/index/task/delMaterial',
|
||||
method: Method.POST,
|
||||
data: {id}
|
||||
});
|
||||
},
|
||||
}
|
||||
|
||||
export default merchant;
|
||||
|
||||
Reference in New Issue
Block a user