签入版本
This commit is contained in:
+12
-12
@@ -1,7 +1,7 @@
|
||||
import { http } from '@/utils/http/axios';
|
||||
|
||||
/**
|
||||
* @description: 案例分页列表
|
||||
* @description: 案例演示分页列表
|
||||
*/
|
||||
export function getExamplePage(params?) {
|
||||
return http.request({
|
||||
@@ -12,7 +12,7 @@ export function getExamplePage(params?) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取全部案例列表
|
||||
* 获取全部案例演示列表
|
||||
* @param params 参数
|
||||
* @returns 返回结果
|
||||
*/
|
||||
@@ -25,8 +25,8 @@ export function getExampleList(params?) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 根据ID获取案例详情
|
||||
* @param id 案例ID
|
||||
* @description: 根据ID获取案例演示详情
|
||||
* @param id 案例演示ID
|
||||
*/
|
||||
export function getExampleDetail(id) {
|
||||
return http.request({
|
||||
@@ -36,8 +36,8 @@ export function getExampleDetail(id) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 添加案例
|
||||
* @param data 案例数据
|
||||
* @description: 添加案例演示
|
||||
* @param data 案例演示数据
|
||||
*/
|
||||
export function exampleAdd(data: any) {
|
||||
return http.request({
|
||||
@@ -48,8 +48,8 @@ export function exampleAdd(data: any) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 更新案例
|
||||
* @param data 案例数据
|
||||
* @description: 更新案例演示
|
||||
* @param data 案例演示数据
|
||||
*/
|
||||
export function exampleUpdate(data: any) {
|
||||
return http.request({
|
||||
@@ -60,8 +60,8 @@ export function exampleUpdate(data: any) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 删除案例
|
||||
* @param id 案例ID
|
||||
* @description: 删除案例演示
|
||||
* @param id 案例演示ID
|
||||
*/
|
||||
export function exampleDelete(id) {
|
||||
return http.request({
|
||||
@@ -71,8 +71,8 @@ export function exampleDelete(id) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 批量删除案例
|
||||
* @param data 案例ID数组
|
||||
* @description: 批量删除案例演示
|
||||
* @param data 案例演示ID数组
|
||||
*/
|
||||
export function exampleBatchDelete(data: any) {
|
||||
return http.request({
|
||||
|
||||
Reference in New Issue
Block a user