26 lines
921 B
TypeScript
26 lines
921 B
TypeScript
import http from "@/api";
|
|
import { ResPage } from "@/api/interface/index";
|
|
/**
|
|
* @name 防伪码模块
|
|
*/
|
|
//防伪码记录列表
|
|
export const getListApi = (params: Record<string, any>) => {
|
|
return http.post<ResPage<any>>(`SecurityNumber/GetGenerateRecordList`, params);
|
|
};
|
|
//生成防伪码
|
|
export const getGenerateSecurityNumberApi = (params: Record<string, any>) => {
|
|
return http.post<ResPage<any>>(`SecurityNumber/Generate`, params);
|
|
};
|
|
//防伪码下载列表 getDownListApi
|
|
export const getDownListApi = (params: Record<string, any>) => {
|
|
return http.post<ResPage<any>>(`SecurityNumber/GetList`, params);
|
|
};
|
|
//下载
|
|
export const getDownAllApi = (params: Record<string, any>) => {
|
|
return http.post<ResPage<any>>(`SecurityNumber/Export`, params);
|
|
};
|
|
//选择下载
|
|
export const getDownApi = (params: Record<string, any>) => {
|
|
return http.post<ResPage<any>>(`SecurityNumber/Export`, params);
|
|
};
|