mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-03-30 06:54:42 +08:00
27 lines
380 B
Markdown
27 lines
380 B
Markdown
## 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
|
|
}
|