q-koa 11.5.2 → 11.5.4

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.
@@ -214,6 +214,7 @@ exports.qr_code = async ({
214
214
  scene,
215
215
  is_oss = false,
216
216
  config = 'weixin_mp',
217
+ width = 280,
217
218
  }) => {
218
219
  const appConfig = getConfig(app)
219
220
  const { app_id, app_secrect } = await appConfig.getObject(config)
@@ -230,6 +231,7 @@ exports.qr_code = async ({
230
231
  page,
231
232
  is_hyaline,
232
233
  scene,
234
+ width,
233
235
  })
234
236
  const qr_image = `https://${
235
237
  site_host || 'api.kuashou.com'
@@ -252,6 +254,7 @@ exports.qr_code = async ({
252
254
  page,
253
255
  is_hyaline,
254
256
  scene,
257
+ width,
255
258
  })
256
259
  const client = new OSS({
257
260
  accessKeyId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "11.5.2",
3
+ "version": "11.5.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {