|
|
@ -71,7 +71,7 @@ func Scedit(w http.ResponseWriter, r *http.Request) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 解析表单数据
|
|
|
// 解析表单数据
|
|
|
// r.ParseForm()
|
|
|
r.ParseForm() |
|
|
// 接受json 数据
|
|
|
// 接受json 数据
|
|
|
var scinfo db.StServerInfo |
|
|
var scinfo db.StServerInfo |
|
|
err := json.NewDecoder(r.Body).Decode(&scinfo) |
|
|
err := json.NewDecoder(r.Body).Decode(&scinfo) |
|
|
|