更新供应商
curl --request PUT \
--url https://api.lmm.best/api/vendors/import requests
url = "https://api.lmm.best/api/vendors/"
response = requests.put(url)
print(response.text)const options = {method: 'PUT'};
fetch('https://api.lmm.best/api/vendors/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lmm.best/api/vendors/"
req, _ := http.NewRequest("PUT", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}供应商
更新供应商
👨💼 需要管理员权限(Admin)
PUT
/
api
/
vendors
/
更新供应商
curl --request PUT \
--url https://api.lmm.best/api/vendors/import requests
url = "https://api.lmm.best/api/vendors/"
response = requests.put(url)
print(response.text)const options = {method: 'PUT'};
fetch('https://api.lmm.best/api/vendors/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lmm.best/api/vendors/"
req, _ := http.NewRequest("PUT", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}响应
200
成功
最后修改于 2026年9月23日
⌘I