|
|
@@ -16,10 +16,10 @@ import (
|
|
|
|
|
|
// Class
|
|
|
// curl -X POST -H "Content-Type: application/json" -d '{"name":"test", "studentNum": 10}' "http://localhost:31000/example/api/v1/class/create"
|
|
|
-// curl -X PUT -H "Content-Type: application/json" -d '{"id":"e25bd84b39c241a291c39d73c22e9bfe", "name":"test-new"}' "http://localhost:31000/example/api/v1/class/update"
|
|
|
+// curl -X PUT -H "Content-Type: application/json" -d '{"id":"5590090bf7604fb1b3a3b4b42722d924", "name":""}' "http://localhost:31000/example/api/v1/class/update"
|
|
|
// curl -X GET "http://localhost:31000/example/api/v1/class/query?name=test-new&pageNo=1&pageSize=1"
|
|
|
-// curl -X GET "http://localhost:31000/example/api/v1/class/get?id=2bc2860617584610b0c7a79ed1b45d61"
|
|
|
-// curl -X DELETE "http://localhost:31000/example/api/v1/class/delete?id=e25bd84b39c241a291c39d73c22e9bfe"
|
|
|
+// curl -X GET "http://localhost:31000/example/api/v1/class/get?id=5590090bf7604fb1b3a3b4b42722d924"
|
|
|
+// curl -X DELETE "http://localhost:31000/example/api/v1/class/delete?id=5590090bf7604fb1b3a3b4b42722d924"
|
|
|
// curl -X GET "http://localhost:31000/example/api/operateLog/query?resource=Class"
|
|
|
|
|
|
// Student
|
|
|
@@ -44,12 +44,12 @@ import (
|
|
|
// curl -X DELETE "http://localhost:31000/example/api/v1/identity/delete?id=6e12ee71397746b8920fa94e5f229366"
|
|
|
|
|
|
// Class-Student
|
|
|
-// curl -X POST -H "Content-Type: application/json" -d '{"id":"82f03353db3545058c135f15c9a86edb", "studentIds": ["eec8c4def70d44e1ba234c089db40d17"]}' "http://localhost:31000/example/api/v1/class/student/update"
|
|
|
-// curl -X GET "http://localhost:31000/example/api/v1/class/student/query?id=82f03353db3545058c135f15c9a86edb"
|
|
|
+// curl -X POST -H "Content-Type: application/json" -d '{"id":"fa08479ba7b54a3f8f06751fd2726b5d", "studentIds": ["323cb0a706a2470080fcf96268f630ee"]}' "http://localhost:31000/example/api/v1/class/student/update"
|
|
|
+// curl -X GET "http://localhost:31000/example/api/v1/class/student/query?id=fa08479ba7b54a3f8f06751fd2726b5d"
|
|
|
|
|
|
// Student-Class
|
|
|
-// curl -X POST -H "Content-Type: application/json" -d '{"id":"eec8c4def70d44e1ba234c089db40d17", "classId": "82f03353db3545058c135f15c9a86edb"}' "http://localhost:31000/example/api/v1/student/class/update"
|
|
|
-// curl -X GET "http://localhost:31000/example/api/v1/student/class/query?id=eec8c4def70d44e1ba234c089db40d17"
|
|
|
+// curl -X POST -H "Content-Type: application/json" -d '{"id":"323cb0a706a2470080fcf96268f630ee", "classId": "fa08479ba7b54a3f8f06751fd2726b5d"}' "http://localhost:31000/example/api/v1/student/class/update"
|
|
|
+// curl -X GET "http://localhost:31000/example/api/v1/student/class/query?id=323cb0a706a2470080fcf96268f630ee"
|
|
|
// curl -X GET "http://localhost:31000/example/api/v1/student/class/queryWith?name=test"
|
|
|
|
|
|
// Student-Family
|