q-koa 12.5.8 → 12.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1867,9 +1867,9 @@ exports.getVisitTrend = async (ctx) => {
1867
1867
 
1868
1868
  exports.getCommentInfo = async (ctx, _data) => {
1869
1869
  const { app, appName } = getAppByCtx(ctx)
1870
- const user_id = getUserByCtx(ctx)
1870
+
1871
1871
  const appConfig = getConfig(app)
1872
- const { is_dev } = await appConfig.getObject('base')
1872
+
1873
1873
  const { comment_id } = _data || ctx.request.body
1874
1874
 
1875
1875
  if (!comment_id) throw new ServiceError('comment_id?')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "12.5.8",
3
+ "version": "12.6.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {