This commit is contained in:
aozhiwei 2022-03-15 17:28:46 +08:00
parent 0e67a7d587
commit aa8dc95814
2 changed files with 18 additions and 1 deletions

View File

@ -1,7 +1,24 @@
const https = require('https');
const app = require('j7/app');
const utils = require('j7/utils');
const serviceFactory = require('../services/factory');
/*
data:
{
"seq_id": "",
"target_url": "",
"params"":[
["xx", "xx"]
],
"cb_url": ""
}
*/
async function get(session) {
const data = utils.jsonDecode(session.request('data', ''));
const seqId = data['seq_id'];
const targetUrl = data['target_url'];
const cbUrl = data['cb_url'];
}
async function post(session) {

2
third_party/j7 vendored

@ -1 +1 @@
Subproject commit 984701afe9a747a2a24505319721869ebe187901
Subproject commit 4f8f2e8a778dffdfbb3f16cd76e6d66fd7641a7f