增加气站合同附件受控上传与预览
This commit is contained in:
@@ -65,8 +65,11 @@ func registerGasBusinessRoutes(group *gin.RouterGroup) {
|
||||
contract := group.Group("/gasorder_contract")
|
||||
contract.GET("", gaslogic.ListGasorderContract)
|
||||
contract.POST("", gaslogic.CreateGasorderContract)
|
||||
contract.POST("/attachment/upload", gaslogic.UploadGasorderContractAttachment)
|
||||
contract.POST("/attachment/cleanup", gaslogic.CleanupGasorderContractAttachment)
|
||||
contract.GET("/:identity", gaslogic.GetGasorderContract)
|
||||
contract.PUT("/:identity", gaslogic.UpdateGasorderContract)
|
||||
contract.GET("/:identity/attachment", gaslogic.ServeGasorderContractAttachment)
|
||||
contract.POST("/:identity/activate", gaslogic.ActivateGasorderContract)
|
||||
contract.POST("/:identity/renew", gaslogic.RenewGasorderContract)
|
||||
contract.POST("/:identity/terminate", gaslogic.TerminateGasorderContract)
|
||||
|
||||
Reference in New Issue
Block a user