yjp il y a 1 an
Parent
commit
441bb1c14b
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      examples/examples/project/main.go

+ 3 - 3
examples/examples/project/main.go

@@ -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":"4fd8dd01be48421fba65eff6360111b9", "name":"test-new"}' "http://localhost:31000/example/api/v1/class/update"
+// curl -X PUT -H "Content-Type: application/json" -d '{"id":"b96c97e868c94250a754e8f9f91518b7", "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=4fd8dd01be48421fba65eff6360111b9"
-// curl -X DELETE "http://localhost:31000/example/api/v1/class/delete?id=4fd8dd01be48421fba65eff6360111b9"
+// curl -X GET "http://localhost:31000/example/api/v1/class/get?id=b96c97e868c94250a754e8f9f91518b7"
+// curl -X DELETE "http://localhost:31000/example/api/v1/class/delete?id=b96c97e868c94250a754e8f9f91518b7"
 
 // Student
 // curl -X POST -H "Content-Type: application/json" -d '{"name":"test"}' "http://localhost:31000/example/api/v1/student/create"