We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aedf10e commit 1bf523dCopy full SHA for 1bf523d
test.lua
@@ -0,0 +1,32 @@
1
+local cashier = require "cloud.payjs.cashier"
2
+local native = require "cloud.payjs.native"
3
+local micro = require "cloud.payjs.micro"
4
+local face = require "cloud.payjs.face"
5
+local js = require "cloud.payjs.js"
6
+local order = require "cloud.payjs.order"
7
+local utils = require "cloud.payjs.utils"
8
+
9
+local mchid = "123456"
10
+local key = "wodjwaiodwadka"
11
12
+-- 支付相关接口
13
+-- js.pay(mchid, key, ...)
14
+-- native.pay(mchid, key, ...)
15
+-- cashier.pay(mchid, key, ...)
16
+-- face.pay(mchid, key, ...)
17
18
+-- 订单相关接口
19
+-- order.order_check(mchid, key, order_id)
20
+-- order.order_close(mchid, key, order_id)
21
+-- order.order_reverse(mchid, key, order_id)
22
+-- order.order_refund(mchid, key, order_id)
23
24
25
+-- 查询商户信息
26
+-- utils.mch_info(mchid, key)
27
28
+-- 查询银行编码
29
+-- utils.bank_code(mchid, key, bank)
30
31
+-- 获取用户 OPENID
32
+-- utils.mch_openid(mchid, key, callback_url)
0 commit comments