adtec-core-package 3.0.9 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adtec-core-package",
3
- "version": "3.0.9",
3
+ "version": "3.1.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {
@@ -12,8 +12,12 @@ export default {
12
12
  getUpLoadFilesVoById(id: string): Promise<ISysUploadFiles> {
13
13
  return request.get(basePath + 'getUpLoadFilesVoById/' + id)
14
14
  },
15
- getUpLoadFilesByBussinessIds(bussinessIds: string[]): Promise<ISysUploadFiles[]> {
16
- return request.post(basePath + 'getUpLoadFilesByBussinessIds', bussinessIds)
15
+ getUpLoadFilesByBussinessIds(bussinessIds: string[], showPage?: number): Promise<ISysUploadFiles[]> {
16
+ const path =
17
+ showPage === undefined
18
+ ? basePath + 'getUpLoadFilesByBussinessIds'
19
+ : basePath + 'getUpLoadFilesByBussinessIds/' + showPage
20
+ return request.post(path, bussinessIds)
17
21
  },
18
22
  delSysUploadFile(id: string) {
19
23
  return request.get(basePath + 'delSysUploadFile/' + id)
@@ -15,4 +15,5 @@ export interface ISysUploadFiles extends BaseEntity{
15
15
  path: string
16
16
  business: string
17
17
  businessId?: string
18
+ pageCount?: number
18
19
  }