refactor: reorganize modules and add Linux build tooling
This commit is contained in:
51
module/finance/wallet/test/alipay.http
Normal file
51
module/finance/wallet/test/alipay.http
Normal file
@@ -0,0 +1,51 @@
|
||||
POST http://127.0.0.1:12239/wallet.Alipay/WapPay
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"user_identification": "user_123",
|
||||
"amount": 1000,
|
||||
"description": "商品描述",
|
||||
"notify_url": "https://example.com/alipay/notify",
|
||||
"quit_url": "https://example.com/quit"
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
POST http://127.0.0.1:12239/wallet.Alipay/PagePay
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"user_identification": "user_123",
|
||||
"amount": 1000,
|
||||
"description": "商品描述",
|
||||
"notify_url": "https://example.com/alipay/notify",
|
||||
"return_url": "https://example.com/ok"
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
POST http://127.0.0.1:12239/wallet.Alipay/AppPay
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"user_identification": "user_123",
|
||||
"amount": 1000,
|
||||
"description": "商品描述",
|
||||
"notify_url": "https://example.com/alipay/notify"
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
POST http://127.0.0.1:12239/wallet.Alipay/Transfer
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"user_identification": "user_123",
|
||||
"amount": 1000,
|
||||
"fee": 0,
|
||||
"description": "提现到支付宝"
|
||||
}
|
||||
Reference in New Issue
Block a user