|
@@ -0,0 +1,64 @@
|
|
|
+# <font >Kick The Player Offline</font>
|
|
|
+## Description
|
|
|
+> This function allows operators to kick players offline through the interface
|
|
|
+
|
|
|
+> 请求方式( Host-> BeSoft):post
|
|
|
+
|
|
|
+> 编码方式:application/x-www-form-urlencoded
|
|
|
+
|
|
|
+> Besoft响应的数据格式是: application/json
|
|
|
+
|
|
|
+## Method URL
|
|
|
+> {besoftapi}/api/game/logout
|
|
|
+
|
|
|
+## Request Parameters
|
|
|
+
|
|
|
+| Name | Type | Required | Description |
|
|
|
+| ---------- | ------ | ---- | ---------|
|
|
|
+| extension1 | String | Y | security code|
|
|
|
+| cert | String | Y | agent account|
|
|
|
+| user | String | N | The player's account was kicked off |
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+## Example
|
|
|
+- **URL**:
|
|
|
+ - http://127.0.0.1:8000/api/game/logout
|
|
|
+- **HTTP Method**:
|
|
|
+ - POST
|
|
|
+- **Form Data**:
|
|
|
+ > Content-Type: application/x-www-form-urlencoded
|
|
|
+ ```
|
|
|
+ cert:v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y
|
|
|
+ extension1:adminweb
|
|
|
+ user:Guest492
|
|
|
+ ```
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+## Return Result
|
|
|
+
|
|
|
+| Name | Type | Description |
|
|
|
+|--------|----------|--------|
|
|
|
+|status| Int32 |status code |
|
|
|
+|erro| Int32 |error code|
|
|
|
+
|
|
|
+## Successful Result
|
|
|
+
|
|
|
+
|
|
|
+```json
|
|
|
+
|
|
|
+{
|
|
|
+ "status": 1
|
|
|
+}
|
|
|
+
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+## Failed Result
|
|
|
+
|
|
|
+```
|
|
|
+{
|
|
|
+ "erro": 1042
|
|
|
+}
|
|
|
+```
|