'use strict'; const moment = require('moment') async function edit (ctx) { try { const models = ctx.fs.dc.models; const { userId, token } = ctx.fs.api ctx.status = 204; } catch (error) { ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); ctx.status = 400; ctx.body = {} } } async function get (ctx) { try { const models = ctx.fs.dc.models; const { userId, token } = ctx.fs.api ctx.status = 204; } catch (error) { ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); ctx.status = 400; ctx.body = {} } } async function banned (ctx) { try { const models = ctx.fs.dc.models; const { userId, token } = ctx.fs.api ctx.status = 204; } catch (error) { ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); ctx.status = 400; ctx.body = {} } } async function del (ctx) { try { const models = ctx.fs.dc.models; const { userId, token } = ctx.fs.api ctx.status = 204; } catch (error) { ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); ctx.status = 400; ctx.body = {} } } async function copy (ctx) { try { const models = ctx.fs.dc.models; const { userId, token } = ctx.fs.api ctx.status = 204; } catch (error) { ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); ctx.status = 400; ctx.body = {} } } async function detail (ctx) { try { const models = ctx.fs.dc.models; const { userId, token } = ctx.fs.api ctx.status = 204; } catch (error) { ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); ctx.status = 400; ctx.body = {} } } module.exports = { edit, get, banned, del, copy, detail };