- 重构UploadImg

This commit is contained in:
gazebo
2019-04-11 16:19:28 +08:00
parent 660ff1e34c
commit 5f9b2a08bb
7 changed files with 80 additions and 22 deletions

View File

@@ -166,6 +166,7 @@ type IPurchasePlatformHandler interface {
GetOrderRealMobile(ctx *jxcontext.Context, order *model.GoodsOrder) (mobile string, err error)
ReplyOrderComment(ctx *jxcontext.Context, orderComment *model.OrderComment, replyComment string) (err error)
UploadImg(ctx *jxcontext.Context, imgURL string, imgData []byte, imgName string) (imgHint string, err error)
}
// db *dao.DaoDB,