This project is the backend of the real world applet AgileWorking application. AgileWorking is a small program used for internal conference rooms and team management in departments. The front-end implementation of the applet can access this project agile-working.
spring.profiles.active=dev
in src/main/resources/application.properties. The test database will be automatically connected and the table will be rebuilt before each case is executed.mvn test
The interface design follows the Restful style API . Services under the public label can be accessed directly. Services under the private label must specify Authorization
(Token) and Subject
(WeChat openId) in the http header:
[Public] Obtain the user's openId
/agileworking/wechat/openid/{jsCode}
through jsCode
. The openId returned in the successful query payload is
[Public] Query the team list and return all teams /agileworking/teams
[Public] Query whether the user with the specified openId
has joined the specified team GET /agileworking/team/{teamId}/user/{openId}
. If he joins, the User
information and token
will be returned.
[Public] Join the specified team POST /agileworking/team/{id}/join
, and User
and token
will be returned if the join is successful.
[Public] Query the specified schedule based on id
GET /agileworking/schedules/{id}
, including scheduled participants. This interface is used to invite other users to open the mini program. It is temporarily released to the public and will be subject to front-end optimization. Then modify it back to private
[Private] Query the list of all meeting rooms under the specified team GET /agileworking/meetingRooms/{teamId}
[Private] Create/modify schedule POST /agileworking/meetingRooms/{id}/schedule?formId=?
yyyy-MM-dd
format [Private] Cancel schedule DELETE /agileworking/meetingRooms/schedule/{id}
[Private] Query the schedule of the specified meeting room on the specified date GET /agileworking/meetingRooms/{id}/schedule?date=yyyyMMdd
[Private] Accept meeting invitation POST /agileworking/schedules/{id}/join
[Private] Query the conference you joined GET /agileworking/participant/{openId}?date=yyyyMMdd