25 lines
571 B
TypeScript
25 lines
571 B
TypeScript
/* eslint-disable */
|
|
// @ts-ignore
|
|
import request from '@/http/vue-query';
|
|
import type { CustomRequestOptions } from '@/http/types';
|
|
|
|
import * as API from './types';
|
|
|
|
/** 版本更新 POST /app/version/isUpdateVersion */
|
|
export async function appVersionIsUpdateVersionPost({
|
|
body,
|
|
options,
|
|
}: {
|
|
body: API.IsUpdateVersionBo;
|
|
options?: CustomRequestOptions;
|
|
}) {
|
|
return request<API.RAppVersionVo>('/app/version/isUpdateVersion', {
|
|
method: 'POST',
|
|
headers: {
|
|
'Content-Type': 'application/json',
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
});
|
|
}
|