4.6.201909261431 • Published 5 years ago

@dfeidao/fd-am000052 v4.6.201909261431

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

删除文件服务器附件

Installation

yarn add --dev @dfeidao/fd-am000052

params

属性说明类型
url文件服务器地址,例如:http://192.168.40.196string
productid项目productidstring
file_id文件idstring

result

boolean

Example

import am052 from '@dfeidao/fd-am000052';

const res = await am052('http://192.168.40.196', 'kinth_oa', 'a825fc5d-6313-4b42-b8b1-c673a710307a.jpg');
// res 为true则删除成功
// res 为false则删除失败