
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
feedback-qrcode
Advanced tools
申请接入组件详细对接文档:对接文档
npm i feedback-qrcode --save -S
import feedbackQrcode from 'feedback-qrcode/libs/index.js';
/**
* isOpen: Boolean 非必传 是否展开(默认收起)
* feecBackQrcode: String 必传 问题反馈二维码图片地址(注:需要带来源参数)
* tabAction: String 非必传 初始显示的界面,默认'form';
* 值为:form 问题反馈(表单提交界面)
* 值为:qrcode 语音反馈(小程序二维码界面)
* 值为:list 历史反馈(已反馈的列表界面)
*
* uploadApi: Object 非必传 上传文件的接口参数
* url:String 如果有uploadApi,必传 上传文件接口地址
* parseData: Function 非必传 编辑接口请求参数
* parseResponseData: Function 非必传 编辑接口返回的数据
*
* submitApi: Object 非必传 提交问题接口
* url:String 如果有submitApi,必传 提交问题接口地址
* parseData: Function 非必传 编辑接口请求参数
* parseResponseData: Function 非必传 编辑接口返回的数据
*/
feedbackQrcode.config({
isOpen: false,
tabAction: 'form',
feecBackQrcode: 'https://image.tf56.com/dfs/group1/M00/18/12/CiFCLl2OqO2AREG5AACAZj11-vk823.png',
uploadApi: {
url: '/tfCommonApi/helpdesk/uploadFile',
parseData: (data) => {
// data: FormData数据
return data;
},
parseResponseData: (res) => {
// 编辑成以下格式返回:
// res = {
// "code":0,
// "data":{
// "contentUrl":"group1/M00/01/87/Ck1AUF236qyAGuQSAAFbVk7-x1s223.jpg",
// "filePreUrl":"http://site.test.tf56.com/fastdfsWeb/dfs",
// "contentType":"4"
// },
// "msg": "***"
//}
return res;
}
},
submitApi: {
url: '/tfCommonApi/helpdesk/createHelpdeskIssue',
parseData: (data) => {
//data: {
// issueDesc: "问题描述内容",
// helpdeskIssueContentList: [{
// contentType: "4",
// contentUrl: "group1/M00/01/87/Ck1AUF237VqAXvJDAAFbVk7-x1s687.jpg"
// }]
//}
return data;
},
parseResponseData: (res) => {
// 编辑成以下格式返回:
// res = {
// "code":0,
// "msg": "***"
//}
return res;
}
}
});
feedbackQrcode.bind('on-upload', (formdata, contentType) => {
const res = {
"code":0,
"data":{
"contentUrl":"group1/M00/01/87/Ck1AUF236qyAGuQSAAFbVk7-x1s223.jpg",
"filePreUrl":"http://site.test.tf56.com/fastdfsWeb/dfs",
"contentType":"4"
},
"msg": "***"
}
feedbackQrcode.trigger('on-upload-success', res);
});
feedbackQrcode.bind('on-submit', (value) => {
const res = {
"code":0,
"msg": "提交成功"
}
feedbackQrcode.trigger('on-submit-success', res);
});
FAQs
feedback for pc
The npm package feedback-qrcode receives a total of 1 weekly downloads. As such, feedback-qrcode popularity was classified as not popular.
We found that feedback-qrcode demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.