generated from template/router-template
21 lines
341 B
TypeScript
21 lines
341 B
TypeScript
import { app } from './common.ts'
|
|
|
|
// delete
|
|
|
|
// app.call({
|
|
// path: 'daily',
|
|
// key: 'delete',
|
|
// payload: {
|
|
// id: 'fqwoaqawhkfy'
|
|
// }
|
|
// }).then(res => {
|
|
// console.log('删除结果:', res.body)
|
|
// })
|
|
|
|
// randoms
|
|
app.call({
|
|
path: 'daily',
|
|
key: 'random'
|
|
}).then((res) => {
|
|
console.log('Daily Questions:', res.body);
|
|
}) |