Commit 7b4092c6 by jixudong

Replace 登录页.md

parent 27c11410
**测试环境URL**:http://tx-gz14.heyqiwu.cn
**测试环境URL**:http://tx-gz14.heyqiwu.cn
......@@ -197,3 +197,54 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/userLoad/register/acquire' \
}
```
### 用户注册
**METHOD**: POST
**path**: api/platform/user/userLoad/register
**RequestHeaders:** 同创作平台请求header
#### 请求param字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求body字段说明
| key | type | required | description |
| -------- | ---- | -------- | ----------- |
| username | | yes | 用户名 |
| password | | yes | 密码 |
| nickname | | yes | 昵称 |
| email | | yes | 邮箱 |
| platform | | yes | 平台 |
#### 请求示例
```js
curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/userLoad/register' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: zh-CN,zh;q=0.9' \
-H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURJeU56WXhNemtzSW1WNGNDSTZNVGN3TWpJNE16TXpPU3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLi00aGJiUWtUNlNsMjBYUUxMUE5wZGN2aEhuUTFNbHFqSS1KSXdEb1ZsNm86czAwcGVyczNjcmV0' \
-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 '{"username":"用户名","password":"jxd15623889207","nickname":"昵称","email":"1036795585@qq.com","platform":"work"}' \
--compressed \
--insecure
```
#### 响应实例
```json
{
"code": 1,
"msg": "成功",
"data": null
}
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment