controllers/fileController.go
@@ -4,6 +4,7 @@ "basic.com/pubsub/protomsg.git" "bytes" "encoding/base64" "errors" "fmt" "github.com/gin-gonic/gin" "github.com/satori/go.uuid" @@ -196,7 +197,12 @@ return nil,err } s.PushImgMsg(bc) return s.GetFaceFea() s.GetFaceFea() if s.Result == nil{ return nil,errors.New("no fea") } else { return s.Result,nil } } /**上传方法**/