Commit 668999c3 by Li Feifei

Update file_notify.go

parent 3dfbb1ca
Pipeline #15616 passed with stages
in 38 seconds
...@@ -3,6 +3,7 @@ package file ...@@ -3,6 +3,7 @@ package file
import ( import (
"encoding/json" "encoding/json"
"os" "os"
"fmt"
"ppt_server/app/model" "ppt_server/app/model"
"ppt_server/library/http" "ppt_server/library/http"
...@@ -94,6 +95,7 @@ func (n *Notify) Fail(object *ObtainFile) { ...@@ -94,6 +95,7 @@ func (n *Notify) Fail(object *ObtainFile) {
// 上传成功通知 // 上传成功通知
func (n *Notify) Success(res g.Map) { func (n *Notify) Success(res g.Map) {
fmt.Println("map == ", res)
if err := n.notify("/web/room_files_add", res); err != nil { if err := n.notify("/web/room_files_add", res); err != nil {
g.Log().Async().Error(err) g.Log().Async().Error(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