|
|
@@ -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":"da0058447ca4400195c3f46394151354", "name":"test-new"}' "http://localhost:31000/example/api/v1/class/update"
|
|
|
+// curl -X PUT -H "Content-Type: application/json" -d '{"id":"2639839b3c224a00922472bf28e86b9a", "name":"test-new"}' "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=da0058447ca4400195c3f46394151354"
|
|
|
-// curl -X DELETE "http://localhost:31000/example/api/v1/class/delete?id=da0058447ca4400195c3f46394151354"
|
|
|
+// curl -X GET "http://localhost:31000/example/api/v1/class/get?id=2639839b3c224a00922472bf28e86b9a"
|
|
|
+// curl -X DELETE "http://localhost:31000/example/api/v1/class/delete?id=2639839b3c224a00922472bf28e86b9a"
|
|
|
// curl -X GET "http://localhost:31000/example/api/operateLog/query?resource=Class"
|
|
|
|
|
|
// Student
|