日志完成

This commit is contained in:
aixianling
2024-06-24 19:42:17 +08:00
parent cd4a5621bb
commit 90e89cd60d

View File

@@ -24,9 +24,9 @@ export default {
}, },
computed: { computed: {
columns: () => [ columns: () => [
{label: "群ID", prop: "1", width: 160}, {label: "群ID", prop: "xbotGroupId", width: 160},
{label: "时间", prop: "1", width: 160}, {label: "时间", prop: "sendTime", width: 160},
{label: "请求文本", prop: "1"}, {label: "请求文本", prop: "content"},
] ]
}, },
methods: { methods: {
@@ -39,6 +39,13 @@ export default {
this.detail = res.data.records?.[0] || {} this.detail = res.data.records?.[0] || {}
} }
}) })
this.instance.post("/api/apiForward", null, {
params: {url: "http://192.168.1.87:9000/app/appmasssendingtaskbaidu/ailist?size=15"}
}).then(res => {
if (res?.data) {
this.tableData = res.data
}
})
} }
}, },
created() { created() {