5 lines
119 B

9 years ago
9 years ago
  1. module.exports = {
  2. response: function (ctx, id) {
  3. ctx.body = `<h1>id: ${id}, name: ${ctx.query.name}</h1>`
  4. }
  5. }