修复api
deploy-userbase-front / build-and-deploy (push) Successful in 2m1s

This commit is contained in:
chenxing
2026-08-19 11:28:31 +08:00
parent bf6439888e
commit eb0ab76c83
7 changed files with 107 additions and 104 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ function doSync(interfacePath: string, loadingRef: Ref<boolean>, name: string):
}
loadingRef.value = true;
return (Apis as any)
.Push.test({
.PushSubscription.test({
data: { appId: props.appId, interfacePath, targetIds: null },
cacheFor: null,
})
+1 -1
View File
@@ -85,7 +85,7 @@ function clean(obj: Record<string, any>) {
}
const tableApi = (params: { pageIndex: number; pageSize: number }) => {
return (Apis as any).OperationLog.list({
return (Apis as any).SysOperationLog.operationLogList({
params: clean({
keyword: dataParams.value.keyword?.trim() || undefined,
success: dataParams.value.success,
+2 -2
View File
@@ -99,7 +99,7 @@ function clean(obj: Record<string, any>) {
}
const tableApi = (params: { pageIndex: number; pageSize: number }) => {
return (Apis as any).Push.recordList({
return (Apis as any).PushSubscription.recordList({
params: clean({
appKey: dataParams.value.appKey,
interfacePath: dataParams.value.interfacePath,
@@ -185,7 +185,7 @@ function openDetail(row: any) {
async function handleRetry(row: any) {
try {
await (Apis as any).Push.retry({ pathParams: { id: row.id }, cacheFor: null });
await (Apis as any).PushSubscription.retry({ pathParams: { id: row.id }, cacheFor: null });
Message.success('已重新投递,稍后在列表中查看结果');
tableRef.value?.refreshData();
} catch (e: any) {
+1 -1
View File
@@ -143,7 +143,7 @@ function handleSend() {
preview.value = null;
sendMessage.value = '';
(Apis as any)
.Push.test({
.PushSubscription.test({
data: {
appId: form.value.appId,
interfacePath: form.value.interfacePath,