超管后台 - 编辑项目

This commit is contained in:
柳清爽
2025-04-21 10:32:10 +08:00
parent dd1c808015
commit 9d1ff26442
6 changed files with 233 additions and 9 deletions

View File

@@ -69,12 +69,13 @@ export default function EditProjectPage({ params }: { params: { id: string } })
setIsSubmitting(true)
try {
const response = await fetch(`http://yishi.com/company/update/${params.id}`, {
const response = await fetch(`http://yishi.com/company/update`, {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
id: params.id,
name: projectName,
account,
memo: description,