1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-15 08:16:43 +00:00
This commit is contained in:
2019-07-30 15:35:29 +08:00
parent 4a060d1e51
commit 463b04d9d0
4 changed files with 13 additions and 10 deletions

View File

@@ -97,7 +97,7 @@ func serverAPI(w http.ResponseWriter, r *http.Request) {
log.Debug("group_add")
var group Group
msg := MsgGroupCreate{Code: 0}
err := json.Unmarshal([]byte(string(r.PostFormValue("job"))), &group)
err := json.Unmarshal([]byte(string(r.PostFormValue("group"))), &group)
if err != nil {
msg.Code = 1
msg.Error = err.Error()