mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-12 13:43:49 +08:00
vue3的js和ts代码上传
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* 配置
|
||||
*
|
||||
* @Author: 卓大
|
||||
* @Date: 2022-09-03 21:51:54
|
||||
* @Wechat: zhuda1024
|
||||
* @Email: lab1024@163.com
|
||||
* @Copyright 1024创新实验室 ( https://1024lab.net ),Since 2012
|
||||
*/
|
||||
import { postRequest, getRequest } from '/@/lib/axios';
|
||||
|
||||
export const configApi = {
|
||||
// 分页查询 @author 卓大
|
||||
queryList: (param) => {
|
||||
return postRequest('/support/config/query', param);
|
||||
},
|
||||
// 添加配置参数 @author 卓大
|
||||
addConfig: (param) => {
|
||||
return postRequest('/support/config/add', param);
|
||||
},
|
||||
// 修改配置参数 @author 卓大
|
||||
updateConfig: (param) => {
|
||||
return postRequest('/support/config/update', param);
|
||||
},
|
||||
// 查询配置详情 @author 卓大
|
||||
queryByKey: (param) => {
|
||||
return getRequest(`/support/config/queryByKey?configKey=${param}`);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user