From 3709e9d01ab02eaed092484b2f7a07489e6be6f5 Mon Sep 17 00:00:00 2001 From: jixudong Date: Mon, 11 Dec 2023 13:46:03 +0800 Subject: [PATCH] Replace 管理界面-审批账号.md --- gameditor/前端接口/管理界面-审批账号.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\256\241\347\220\206\347\225\214\351\235\242-\345\256\241\346\211\271\350\264\246\345\217\267.md" "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\256\241\347\220\206\347\225\214\351\235\242-\345\256\241\346\211\271\350\264\246\345\217\267.md" index 73e62d7..7de45e1 100644 --- "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\256\241\347\220\206\347\225\214\351\235\242-\345\256\241\346\211\271\350\264\246\345\217\267.md" +++ "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\256\241\347\220\206\347\225\214\351\235\242-\345\256\241\346\211\271\350\264\246\345\217\267.md" @@ -75,3 +75,61 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/userLoad/register/acquire?user } } ``` + +### 审核账号操作 + +**METHOD**: PUT + +**path**: api/platform/user/userLoad/register/acquire + +**RequestHeaders:** 同创作平台请求header + +#### 请求param字段说明 + +| key | type | required | description | +| ---- | ---- | -------- | ----------- | +| 无 | | | | + +#### 请求body字段说明 + +| key | type | required | description | +| ------ | ---- | -------- | ----------- | +| id | | yes | 主键id | +| status | | yes | 状态 | + +status值说明 + +| key | type | description | +| ---- | ---- | ----------- | +| 0 | | 待审核 | +| 1 | | 审核未通过 | +| 2 | | 审核通过 | + +#### 请求示例 + +```js +curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/userLoad/register/acquire' \ + -X 'PUT' \ + -H 'Accept: application/json, text/plain, */*' \ + -H 'Accept-Language: zh-CN,zh;q=0.9' \ + -H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURFM05UVXpOamtzSW1WNGNDSTZNVGN3TVRjMk1qVTJPU3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLkd1V2J2dTdCc3lEWC1SMkFaaEc4Q1hpUndkMWpJRFNMWmNKUlFUSkxsakk6czAwcGVyczNjcmV0' \ + -H 'Connection: keep-alive' \ + -H 'Content-Type: application/json;charset=UTF-8' \ + -H 'Origin: http://localhost:8080' \ + -H 'Referer: http://localhost:8080/' \ + -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' \ + --data-raw '{"id":45,"status":2}' \ + --compressed \ + --insecure +``` + +#### 响应实例 + +``` +{ + "code": 1, + "msg": "成功", + "data": null +} +``` + -- libgit2 0.27.1