UploadImg添加vendorOrgCode参数
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user