1
This commit is contained in:
@@ -827,6 +827,19 @@ func UploadImg(filePath, imgType, sourcechnl, isOcr string) (*lakala.UploadImgRe
|
||||
return api.LaKaLaApi.FileUpload(filePath, imgType, sourcechnl, isOcr)
|
||||
}
|
||||
|
||||
// UploadAttachmentImg 分账附件上传
|
||||
func UploadAttachmentImg(orgCode, attType, attExtName, attContext string) (*lakala.AttachmentImgResp, error) {
|
||||
parameter := &lakala.AttachmentImg{
|
||||
Version: "1.0",
|
||||
OrderNo: lakala.GetOrderNumber(8),
|
||||
OrgCode: orgCode,
|
||||
AttType: attType,
|
||||
AttExtName: attExtName,
|
||||
AttContext: attContext,
|
||||
}
|
||||
return api.LaKaLaApi.AttachmentUpload(parameter)
|
||||
}
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region京西数据查询
|
||||
|
||||
Reference in New Issue
Block a user