mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-01-13 07:01:20 +08:00
380 B
380 B
Admin API
POST /admin/create_payment
Request:
{
"account_id": "525284cc2cebb6d0008b4567",
"type": "taobao",
"amount": 10,
"order_id": "560097131641814"
}
Exception:
- account_not_exist
- invalid_amount
POST /admin/update_site
Request:
{
"site_id": "525284cc2cebb6d0008b4567",
"is_enable": false
}