Skip to content

请问微信支付领金币WECHAT_PAY_TOKEN格式 #32

Description

@hanlihanshaobo

请问青龙中WECHAT_PAY_TOKEN格式是怎么样的,我添加[{ "openid": openid, "token": session_token }]后报错

找到 1 个 Token 变量 ✅
----- 账号 [1] 开始执行 -----
node:internal/errors:496
ErrorCaptureStackTrace(err);
^

TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
at new NodeError (node:internal/errors:405:5)
at Object.from (node:buffer:325:9)
at InternalDecoder.write (/ql/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/internal.js:61:22)
at StripBOMWrapper.write (/ql/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/bom-handling.js:35:28)
at Object.decode (/ql/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/index.js:40:23)
at /ql/data/scripts/FoKit_Scripts/wechat_pay_coupon.js:545:8653
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'ERR_INVALID_ARG_TYPE'
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions