UploadImg添加vendorOrgCode参数

This commit is contained in:
gazebo
2019-12-11 17:42:56 +08:00
parent bc10962095
commit 2156c77dbf
8 changed files with 9 additions and 9 deletions

View File

@@ -68,7 +68,7 @@ func vendorCategoryID2String(catID int64) string {
return ""
}
func (p *PurchaseHandler) UploadImg(ctx *jxcontext.Context, imgURL string, imgData []byte, imgName string, imgType int) (imgHint string, err error) {
func (p *PurchaseHandler) UploadImg(ctx *jxcontext.Context, vendorOrgCode, imgURL string, imgData []byte, imgName string, imgType int) (imgHint string, err error) {
if globals.EnableWscStoreWrite {
imgHint, err = api.WeimobAPI.UploadImg(imgData, imgName)
}