This commit is contained in:
2026-10-08 18:18:21 +08:00
parent 9cc1ff546c
commit 1e3095c05e
1911 changed files with 349551 additions and 0 deletions
@@ -0,0 +1,25 @@
'use strict';
const querystring = require('querystring');
exports.main = async (event, context) => {
//event为客户端上传的参数
console.log('event : ', event)
const {
body
} = event
const obj = querystring.parse(body);
// // 验证签名
// // Base64(SHA1(app_id +MD5(timestamp)+SHA1(app_secret+authenticationType+certStatus+customerId+serialNo+status+statusDesc)))
//
await uniCloud.callFunction({
name: "router",
data: {
$url: "client/payment.pub_payNotify",
data: obj
}
});
//
// return callFunctionRes
// console.log(obj)
return 'SUCCESS'
};
@@ -0,0 +1,7 @@
{
"name": "pay_notify",
"dependencies": {},
"extensions": {
"uni-cloud-jql": {}
}
}