chore: 批量更新 vtj 低代码引擎依赖

This commit is contained in:
wangxuefeng
2025-02-27 16:40:08 +08:00
parent 8e6d5887ac
commit 0c0ce0697f
7 changed files with 124 additions and 208 deletions

View File

@@ -1,11 +0,0 @@
import { request } from '@/utils/request';
export type DictType = 'gender' | 'sell_status';
export async function getDictData(params: { type: DictType }) {
return request<LabelValueOptions>({
url: '/dict/data',
method: 'GET',
params,
});
}

View File

@@ -1,33 +0,0 @@
import { request } from '@/utils/request';
/**
* @description 获取王者荣耀英雄列表
*/
export function getWzryHeroList(query: API.PageParams) {
return request({
url: '/demo/wzry/hero_list',
method: 'get',
params: query,
});
}
/**
* @description 获取英雄联盟英雄列表
*/
export function getLolHeroList(query: API.PageParams) {
return request({
url: '/demo/lol/hero_list',
method: 'get',
params: query,
});
}
/**
* @description 获取英雄联盟英雄列表
*/
export function getLolHeroInfo({ id }) {
return request({
url: `/demo/lol/hero_info/${id}`,
method: 'get',
});
}

View File

@@ -1,14 +0,0 @@
import { request } from '@/utils/request';
interface DemoOptionsItem {
name: string;
id: string;
}
export async function optionsListApi(params?: Recordable) {
return request<DemoOptionsItem[]>({
url: '/select/getDemoOptions',
method: 'GET',
params,
});
}

View File

@@ -1,26 +0,0 @@
import { request } from '@/utils/request';
enum Api {
Login = '/boyanghu/iotree-service/platform/login',
}
/**
* @description: 登录接口参数
*/
export interface LoginParams {
phone: string;
password?: string;
code?: string;
type: number; // 0短信 1密码
}
/**
* @description: 用户登录
*/
export function loginApi(params: LoginParams) {
return request({
url: Api.Login,
method: 'POST',
data: params,
});
}