4.6.201910111019 • Published 5 years ago

@dfeidao/fd-an000051 v4.6.201910111019

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

表单数据保存服务(安全)

Installation

yarn add --dev @dfeidao/fd-an000051

Example

import an51 from '@dfeidao/fd-an000051';

const { exec, insert, update, del } = an51(headers, '6611');
// 插入数据
insert('fd_staff', { staff_no: '111111', staff_name: '张三', productid: 'by_jxc' });
// 修改数据
update('fd_staff', { productid: 'by_jxc',staff_no: '111111' }, { staff_name: '李四' });
// 删除数据
del('fd_staff', { productid: 'by_jxc',staff_name: '李四' });
const ret = await exec();