刘满博客

微信小程序server mysql

knexjs

const { mysql } = require('../qcloud')
module.exports = async (ctx, next) => {
  return mysql.select()
  .from('cSessionInfo')
  .then(function (response) {
    ctx.state.data = response
  })
}


已发布

分类

作者:

标签

评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据