新增功能:收银台
This commit is contained in:
@@ -23,12 +23,9 @@ export async function pageMp(params: MpParam) {
|
||||
* 查询小程序信息列表
|
||||
*/
|
||||
export async function listMp(params?: MpParam) {
|
||||
const res = await request.get<ApiResult<Mp[]>>(
|
||||
MODULES_API_URL + '/cms/mp',
|
||||
{
|
||||
params
|
||||
}
|
||||
);
|
||||
const res = await request.get<ApiResult<Mp[]>>(MODULES_API_URL + '/cms/mp', {
|
||||
params
|
||||
});
|
||||
if (res.data.code === 0 && res.data.data) {
|
||||
return res.data.data;
|
||||
}
|
||||
|
||||
@@ -57,5 +57,6 @@ export interface Mp {
|
||||
*/
|
||||
export interface MpParam extends PageParam {
|
||||
mpId?: number;
|
||||
type?: number;
|
||||
keywords?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user