You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/web/service/explore.ts

18 lines
306 B
TypeScript

import { get, post } from './base'
export const fetchAppList = () => {
return get('/explore/apps')
}
export const fetchInstalledAppList = () => {
return get('/installed-apps')
}
export const installApp = (id: string) => {
return post('/installed-apps', {
body: {
app_id: id
}
})
}