This commit is contained in:
atshike
2025-01-08 09:05:01 +08:00
parent fa038be10e
commit 01c62db7ac
17 changed files with 1290 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import http from '@/utils/http'
export const EditLink = (data: any) => {
if (data && data.id) {
return http.put(`/links/${data.id}`, data)
} else {
return http.post('/links', data)
}
}