This commit is contained in:
2025-04-24 19:17:53 +08:00
parent 094b560059
commit f9381e74ed
9 changed files with 323 additions and 50 deletions

View File

@@ -391,6 +391,62 @@ const admin = {
data: data
});
},
getQRList: async (data) => {
return request({
url: '/admin/qrcode/getList',
method: Method.POST,
data: data
});
},
editQRList: async (data) => {
return request({
url: '/admin/qrcode/edit',
method: Method.POST,
data: data
});
},
getArticleCategoryList: async (data) => {
return request({
url: '/admin/articleCategory/getList',
method: Method.POST,
data: data
});
},
addArticleCategory: async (data) => {
return request({
url: '/admin/articleCategory/add',
method: Method.POST,
data: data
});
},
detailArticleCategory: async (data) => {
return request({
url: '/admin/articleCategory/detail',
method: Method.POST,
data: data
});
},
editArticleCategory: async (data) => {
return request({
url: '/admin/articleCategory/edit',
method: Method.POST,
data: data
});
},
delArticle: async (id) => {
return request({
url: '/admin/articleCategory/del',
method: Method.POST,
data: {id}
});
},
weighArticleCategory: async (data) => {
return request({
url: '/admin/articleCategory/weigh',
method: Method.POST,
data: data
});
},
}
export default admin;