# Secondary development of official services

  • If the functions of the official service can not meet the personalized needs of service providers, developers can refer to this article for secondary development.

  • Click to go toProject Code, whose directory structure is as follows:

# Front End Development Advice

# Back End Development Advice

In order for the developer to be compatible with the subsequent official iterations, it is recommended that the secondary development be carried out in accordance with the following requirements:

1, you can add [custom] folder in any directory or [c]_For files prefixed with], the official does not use either name

2, you can add the interface in [wxcomponent/custom/] path, the official will not use this path

3, you can add the name of the custom numeral table [c]_] prefix, the official will not use this name

# New Custom Interface

  • Creating an API/Custom folder, in api/custom/Routers.go defines the route, which is prefixed with/custom

  • The following image shows the wxcomponent added/custom/The get interface for hello, middleware.JWTMiddleWare is used to verify the login state

# New model file