added access control to point in api and admin

pull/93/MERGE
13621160019@163.com 2021-12-07 20:00:28 +08:00
parent 9c9e316efc
commit 167d6a2caa
1 changed files with 2 additions and 2 deletions

View File

@ -1190,7 +1190,7 @@ curl -i -X GET {{base_url}}/offlinemeterfiles/{id}/restore
* GET Point by ID * GET Point by ID
```bash ```bash
curl -i -X GET {{base_url}}/points/{id} curl -i -H "User-UUID: dcdb67d1-6116-4987-916f-6fc6cf2bc0e4" -H "Token: GET-TOKEN-AFTER-LOGIN" -X GET {{base_url}}/points/{id}
``` ```
Result in JSON Result in JSON
@ -1225,7 +1225,7 @@ Result in JSON
* GET all Points * GET all Points
```bash ```bash
curl -i -X GET {{base_url}}/points curl -i -H "User-UUID: dcdb67d1-6116-4987-916f-6fc6cf2bc0e4" -H "Token: GET-TOKEN-AFTER-LOGIN" -X GET {{base_url}}/points
``` ```
* DELETE Point by ID * DELETE Point by ID
```bash ```bash