refactor: reorganize modules and add Linux build tooling

This commit is contained in:
2026-08-09 12:41:08 +08:00
parent 86024fa81d
commit 5cc5fd92ed
1461 changed files with 4054 additions and 4724 deletions

View File

@@ -0,0 +1,82 @@
POST http://127.0.0.1:12239/wallet.Wechat/JsapiPreOrder
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"user_identification": "user_123",
"amount": 1000,
"auth_code": "wx_auth_code_abc",
"description": "商品描述",
"notify_url": "https://example.com/wx/notify",
"orderNo": "order_202309090001"
}
###
POST http://127.0.0.1:12239/wallet.Wechat/AppPreOrder
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"user_identification": "user_123",
"amount": 1000,
"description": "商品描述",
"notify_url": "https://example.com/wx/notify"
}
###
POST http://127.0.0.1:12239/wallet.Wechat/NativePreOrder
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"user_identification": "user_123",
"amount": 1000,
"description": "商品描述",
"notify_url": "https://example.com/wx/notify"
}
###
POST http://127.0.0.1:12239/wallet.Wechat/Transfer
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"user_identification": "user_123",
"amount": 1000,
"fee": 0,
"description": "提现到零钱",
"transfer_name": "张三"
}
###
POST http://127.0.0.1:12239/wallet.Wechat/WxCallback
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"id": "EV-001",
"create_time": "2023-09-09T12:00:00Z",
"resource_type": "encrypt-resource",
"event_type": "TRANSACTION.SUCCESS",
"summary": "支付成功",
"resource": {
"original_type": "transaction",
"algorithm": "AEAD_AES_256_GCM",
"ciphertext": "...",
"associated_data": "xxx",
"nonce": "yyy"
},
"SignInfo": {
"transaction_id": "4200000000000000000",
"act_code": "A01",
"hall_code": "H01",
"hall_belong_mch_id": 100000000,
"card_id": "card_001",
"code": "SUCCESS",
"activity_id": "act_001"
}
}