Commit 63d83b0f by Li Feifei

Update file_notify.go

parent 20b582e3
Pipeline #15622 passed with stages
in 38 seconds
......@@ -2,6 +2,7 @@ package file
import (
"encoding/json"
"fmt"
"os"
"ppt_server/app/model"
......@@ -35,6 +36,8 @@ func (n *Notify) verify(url string, data g.Map) error {
if err != nil {
return err
}
fmt.Println(string(res))
var notifyResponse model.NotifyResponse
if err = json.Unmarshal(res, &notifyResponse); err != nil {
return err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment