node-icbc-open
掌上生活开放平台( https://open.cmbchina.com/Platform/ ) Node.js SDK
安装
npm install icbc-open --save
使用
const ICBC = ; const icbc = appId: "10000000000000" mertId: "00000000" aesKey: "xxxx" // base64 aseKey icbcPublicKey: "" privateKey: fs; // 登录获取用户信息const userInfo = icbc; // Base64 from APP // 手机号发券await icbc;// 手机号发券查询await icbc;