|
|
@ -8,14 +8,14 @@ const appPackage = { |
|
|
|
list: async (params: any) => { |
|
|
|
return await request.get<IPageResult<APP.IAppPackage>>(`/package/list`, { ...params }) |
|
|
|
}, |
|
|
|
//http://154.88.7.8:45321/package/v1/create
|
|
|
|
add: async (params: any) => { |
|
|
|
return await request.post<IPageResult<APP.IAppPackage>>(`/package/create`, { ...params }) |
|
|
|
}, |
|
|
|
//delete
|
|
|
|
delete: async (params: any) => { |
|
|
|
return await request.post<IPageResult<APP.IAppPackage>>(`/package/delete`, { ...params }) |
|
|
|
}, |
|
|
|
// //http://154.88.7.8:45321/package/v1/create
|
|
|
|
// add: async (params: any) => {
|
|
|
|
// return await request.post<IPageResult<APP.IAppPackage>>(`/package/create`, { ...params })
|
|
|
|
// },
|
|
|
|
// //delete
|
|
|
|
// delete: async (params: any) => {
|
|
|
|
// return await request.post<IPageResult<APP.IAppPackage>>(`/package/delete`, { ...params })
|
|
|
|
// },
|
|
|
|
//package
|
|
|
|
package: async (params: any) => { |
|
|
|
return await request.post<IPageResult<APP.IAppPackage>>(`/package/package`, { ...params }) |
|
|
|