refactor: reorganize modules and add Linux build tooling
This commit is contained in:
93
module/finance/wallet/test/basic.http
Normal file
93
module/finance/wallet/test/basic.http
Normal file
@@ -0,0 +1,93 @@
|
||||
POST http://127.0.0.1:12239/wallet.Basic/GetWallet
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"is_total_today_in": true,
|
||||
"is_total_today_out": true,
|
||||
"is_total_month_in": true,
|
||||
"is_total_month_out": true,
|
||||
"is_total_all_in": true,
|
||||
"is_total_all_out": true
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
POST http://127.0.0.1:12239/wallet.Basic/SetPayPassword
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"passport_identity": "user_123",
|
||||
"password": "123456"
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
POST http://127.0.0.1:12239/wallet.Basic/BindPaymentId
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"pay_type": 1,
|
||||
"auth_code": "wx_auth_code_abc"
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
POST http://127.0.0.1:12239/wallet.Basic/Transactions
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"trans_type": 1,
|
||||
"trade_type": 3,
|
||||
"start": "2023-01-01",
|
||||
"end": "2023-12-31",
|
||||
"page": 1,
|
||||
"page_size": 20
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
POST http://127.0.0.1:12239/wallet.Basic/AddBankCard
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"wallet_identity": "wallet_abc",
|
||||
"card_no": "622202XXXXXXXXXX",
|
||||
"card_owner": "张三",
|
||||
"id_card": "110101199001011234",
|
||||
"phone": "13800000000"
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
POST http://127.0.0.1:12239/wallet.Basic/GetBankCard
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{}
|
||||
|
||||
###
|
||||
|
||||
POST http://127.0.0.1:12239/wallet.Basic/RmBankCard
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"identity": "bank_card_ident_001"
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
POST http://127.0.0.1:12239/wallet.Basic/ApplyCash
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"channel": 1,
|
||||
"amount": 1000,
|
||||
"remark": "申请提现"
|
||||
}
|
||||
Reference in New Issue
Block a user